CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
findutils: adapted to 64b
[crossrootfs.git] / acl / Pkgfile
CommitLineData
3e0a8604
VM
1# Description: Access Control Lists library
2# URL: http://savannah.nongnu.org/projects/acl
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on: attr
6
7name=acl
553e10d3 8version=2.2.52
649c17b4 9release=2
7e9707a8 10source=(http://download-mirror.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
3e0a8604
VM
11
12build() {
13 cd $name-$version
14
15 export DEBUG=-DNDEBUG
16 export OPTIMIZER=$CFLAGS
17
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
21 --bindir=/bin \
649c17b4 22 --libexecdir=/usr/lib
3e0a8604
VM
23
24 make
25 make DIST_ROOT=$PKG install install-lib install-dev
26
27 install -d $PKG/lib
28 mv $PKG/usr/lib/libacl.so.* $PKG/lib
29 rm $PKG/usr/lib/libacl.so
30 ln -s ../../lib/libacl.so.1.1.0 $PKG/usr/lib/libacl.so
31
649c17b4 32 rm -r $PKG/usr/share/{doc,locale}
3e0a8604 33}