PKGBUILDs/extra/ocfs2-tools/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
1,014 B
Bash

# $Id: PKGBUILD 42751 2009-06-18 19:40:44Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=ocfs2-tools
pkgver=1.4.1
pkgrel=2
pkgdesc="Oracle Cluster File System 2 utilities"
arch=(i686 x86_64)
url="http://oss.oracle.com/projects/ocfs2-tools/"
depends=('e2fsprogs' 'glib2' 'readline>=6.0.00')
license=('GPL2')
source=(http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.4/$pkgname-$pkgver.tar.gz
ocfs2-build.patch)
options=(!makeflags)
optdepends=('python: for using ocfs2console')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i ../ocfs2-build.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man
make LDFLAGS=-L/usr/lib || return 1
make DESTDIR=$pkgdir install
install -m 755 -D $srcdir/$pkgname-$pkgver/vendor/common/ocfs2.init \
$pkgdir/etc/rc.d/ocfs2
install -m 755 -D $srcdir/$pkgname-$pkgver/vendor/common/o2cb.init \
$pkgdir/etc/rc.d/o2cb
}
md5sums=('92f4f9f16c3f74307ad508f5e6a300a1'
'fa095cdad5e1f4e3ea3ae31995dc2263')