35 lines
875 B
Plaintext
35 lines
875 B
Plaintext
# Description: Extented attributes library
|
|
# URL: http://savannah.nongnu.org/projects/attr/
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Antti Nykanen, aon at iki dot fi
|
|
# Depends on:
|
|
|
|
name=libattr
|
|
version=2.4.44
|
|
release=1
|
|
source=(http://mirrors.zerg.biz/nongnu/attr/attr-$version.src.tar.gz)
|
|
|
|
build() {
|
|
cd attr-$version
|
|
|
|
export DEBUG=-DNDEBUG
|
|
export OPTIMIZER=$CFLAGS
|
|
|
|
./configure --prefix=/usr \
|
|
--bindir=/bin \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/man
|
|
make
|
|
make DIST_ROOT=$PKG install install-lib install-dev
|
|
|
|
install -d $PKG/lib
|
|
mv $PKG/usr/lib/libattr.so.* $PKG/lib
|
|
rm $PKG/usr/lib/libattr.so
|
|
ln -s ../../lib/libattr.so.1.1.0 $PKG/usr/lib/libattr.so
|
|
|
|
# category 2 manuals are included in core/man-pages
|
|
rm -r $PKG/usr/man/man2
|
|
|
|
rm -r $PKG/usr/share
|
|
}
|