summaryrefslogtreecommitdiffstats
path: root/extra/acl/Pkgfile
blob: a6810875b4fb60e7a4b9f2b1463d93acf342afee (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
28
# Description: Librairie pour le support ACL
# URL: http://oss.sgi.com/projects/xfs/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libattr
# Run on:

name=acl
version=2.2.49
release=1
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_2.2.47-1.tar.gz)

build() {
cd acl-*
./configure --prefix=/usr
make
make prefix=$PKG/usr install install-lib install-dev

cd $PKG

mkdir lib
mv -v usr/lib/libacl.so* lib/
ln -sv ../../lib/libacl.so.1 usr/lib/libacl.so
mv -v usr/libexec/libacl.{a,la} usr/lib/
rm -r usr/libexec
mv $PKG/usr/man $PKG/usr/share
}