PKGBUILDs/core/acl/PKGBUILD

42 lines
956 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Philipp Scholl <pscholl@bawue.de>
2009-09-26 14:54:19 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
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
2009-09-26 14:54:19 +00:00
./configure --prefix=/opt
2009-09-26 14:35:50 +00:00
make || return 1
2009-09-26 14:54:19 +00:00
make prefix=$pkgdir/opt/ install install-lib install-dev
2009-09-26 14:35:50 +00:00
# tidy up
cd $pkgdir
2009-09-26 14:54:19 +00:00
# mkdir -v lib
# mv -v usr/lib/libacl.so* lib/
ln -sv opt/lib/libacl.so.1 opt/lib/libacl.so
2009-09-26 14:35:50 +00:00
2009-09-26 14:54:19 +00:00
mv -v opt/libexec/libacl.{a,la} opt/lib/
rm -rf $pkgdir/opt/libexec
2009-09-26 14:35:50 +00:00
}