CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wget: disabled rpath. Thanks j_v
[crossrootfs.git] / attr / Pkgfile
CommitLineData
b5226a56
VM
1# Description: Extented attributes library
2# URL: http://savannah.nongnu.org/projects/attr/
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
6name=attr
7b07ed0f 7version=2.4.47
9d0a0586
VM
8release=2
9source=(http://download-mirror.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
b5226a56
VM
10
11build() {
12 cd $name-$version
13
14 export DEBUG=-DNDEBUG
15 export OPTIMIZER=$CFLAGS
16
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr \
20 --bindir=/bin \
9d0a0586 21 --libexecdir=/usr/lib
b5226a56
VM
22 make
23 make DIST_ROOT=$PKG install install-lib install-dev
24
25 install -d $PKG/lib
26 mv $PKG/usr/lib/libattr.so.* $PKG/lib
27 rm $PKG/usr/lib/libattr.so
28 ln -s ../../lib/libattr.so.1.1.0 $PKG/usr/lib/libattr.so
29
30 # category 2 manuals are included in core/man-pages
9d0a0586 31 rm -r $PKG/usr/share/man/man2
b5226a56 32
9d0a0586 33 rm -r $PKG/usr/share/{doc,locale}
b5226a56 34}