CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[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.51
9 release=1
10 source=(http://mirrors.zerg.biz/nongnu/$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 --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 }