CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: updated source
[crossrootfs.git] / acl / Pkgfile
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
7 name=acl
8 version=2.2.52
9 release=2
10 source=(http://download-mirror.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
11
12 build() {
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
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
32 rm -r $PKG/usr/share/{doc,locale}
33 }