CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
udev:added forgotten patch
[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
0d8783ff 8version=2.2.51
3e0a8604
VM
9release=1
10source=(http://mirrors.zerg.biz/nongnu/$name/$name-$version.src.tar.gz)
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 \
22 --libexecdir=/usr/lib \
23 --mandir=/usr/man
24
25 make
26 make DIST_ROOT=$PKG install install-lib install-dev
27
28 install -d $PKG/lib
29 mv $PKG/usr/lib/libacl.so.* $PKG/lib
30 rm $PKG/usr/lib/libacl.so
31 ln -s ../../lib/libacl.so.1.1.0 $PKG/usr/lib/libacl.so
32
33 rm -r $PKG/usr/share
34}