summaryrefslogtreecommitdiffstats
path: root/attr/Pkgfile
blob: ccde88a0965c722b17c0a80b16953179d6f8ecb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
description="Extented attributes library"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://savannah.nongnu.org/projects/attr/"
depends=()

name=attr
version=2.4.44
release=1
source=(http://mirrors.zerg.biz/nongnu/attr/attr-2.4.44.src.tar.gz)
build () 
{ 
    cd $name-$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;
    rm -r $PKG/usr/man/man2;
    rm -r $PKG/usr/share
}