summaryrefslogtreecommitdiffstats
path: root/base/libattr/Pkgfile
blob: ccfe1a9ccadd7a6562e8d8524c3fdcb839d6aa6a (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
26
27
# Description: Attributs étendus pour le support de la librairie ACL
# URL: http://oss.sgi.com/projects/xfs/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=libattr
version=2.4.44
release=1
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/attr-$version.src.tar.gz)

build() {
cd attr-$version
autoconf
./configure --prefix=/usr
sed -i -e 's/man2//g' man/Makefile
make
make prefix=$PKG/usr install install-lib install-dev

cd $PKG

mkdir lib
mv -v usr/lib/libattr.so* lib/
ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
mv -v usr/libexec/libattr.{a,la} usr/lib/
rm -r usr/libexec
}