summaryrefslogtreecommitdiffstats
path: root/base/libattr/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 19:20:12 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 19:20:12 +0200
commit1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e (patch)
tree7b5edb8a3151ce9a6f311bf23b8629ad50ae8268 /base/libattr/Pkgfile
parentd07095a766578fde3892fb8d9ddd1294a98939ca (diff)
downloadnutyx-extra-1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e.tar.gz
nutyx-extra-1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e.tar.bz2
nutyx-extra-1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e.tar.xz
nutyx-extra-1d25f3deb104dc4e2d83d0093ae6b3f38fcf8d2e.zip
Ajout de libattr#2.4.43-1-2-1
Diffstat (limited to 'base/libattr/Pkgfile')
-rw-r--r--base/libattr/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/libattr/Pkgfile b/base/libattr/Pkgfile
new file mode 100644
index 000000000..55cff3b3d
--- /dev/null
+++ b/base/libattr/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Extented attributes library
+# URL: http://acl.bestbits.at/
+# Maintainer: Antti Nykanen, aon at iki dot fi
+# Depends on:
+
+name=libattr
+version=2.4.43-1
+release=2
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${version}.tar.gz)
+
+build() {
+ cd attr-${version%-1}
+ ./configure --prefix=$PKG/usr \
+ --mandir=$PKG/usr/share/man \
+ --libexecdir=$PKG/usr/lib
+ make
+ make install-lib
+ make install-dev
+
+ rm $PKG/usr/lib/libattr.so
+ ln -s /usr/lib/libattr.so.1 $PKG/usr/lib/libattr.so
+
+ # category 2 manuals are included in core/man-pages
+ rm -rf $PKG/usr/share/man/man2
+
+ sed -i "s:libdir=.*:libdir='/usr/lib':" $PKG/usr/lib/libattr.la
+}