summaryrefslogtreecommitdiffstats
path: root/base/attr/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/attr/Pkgfile')
-rw-r--r--base/attr/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/attr/Pkgfile b/base/attr/Pkgfile
new file mode 100644
index 000000000..afcc04a65
--- /dev/null
+++ b/base/attr/Pkgfile
@@ -0,0 +1,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: attr
+
+name=attr
+version=2.4.44
+release=1
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/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
+}