PKGBUILDs/core/acl/PKGBUILD
2009-09-26 09:54:19 -05:00

41 lines
956 B
Bash

# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=acl
pkgver=2.2.47
pkgrel=1
pkgdesc="Library for filesystem ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=('attr>=2.4.41')
makedepends=('libtool' 'gettext')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${pkgver}-1.tar.gz
acl-rpath.patch)
md5sums=('a11e4571a54a0b1ae83010d1e68a64c2'
'1fe58873e384657cac223689482e3a30')
build() {
cd $srcdir/acl-$pkgver
patch -Np0 -i $srcdir/acl-rpath.patch
autoconf
./configure --prefix=/opt
make || return 1
make prefix=$pkgdir/opt/ install install-lib install-dev
# tidy up
cd $pkgdir
# mkdir -v lib
# mv -v usr/lib/libacl.so* lib/
ln -sv opt/lib/libacl.so.1 opt/lib/libacl.so
mv -v opt/libexec/libacl.{a,la} opt/lib/
rm -rf $pkgdir/opt/libexec
}