summaryrefslogtreecommitdiffstats
path: root/base/libattr
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-05 20:29:43 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-05 20:29:43 +0100
commitf42f40dcf157ad457b41a915f7b15348bd82c031 (patch)
tree5a2189c9f381f2a32dbc1b76e39a2334caa378b1 /base/libattr
parent6b67e4c8214c306190055c36a3f997c49d45a143 (diff)
downloadnutyx-extra-f42f40dcf157ad457b41a915f7b15348bd82c031.tar.gz
nutyx-extra-f42f40dcf157ad457b41a915f7b15348bd82c031.tar.bz2
nutyx-extra-f42f40dcf157ad457b41a915f7b15348bd82c031.tar.xz
nutyx-extra-f42f40dcf157ad457b41a915f7b15348bd82c031.zip
libattr, nettoyage du paquet
Diffstat (limited to 'base/libattr')
-rw-r--r--base/libattr/.footprint8
-rw-r--r--base/libattr/Pkgfile34
2 files changed, 22 insertions, 20 deletions
diff --git a/base/libattr/.footprint b/base/libattr/.footprint
index 6ef4694cf..147309fc7 100644
--- a/base/libattr/.footprint
+++ b/base/libattr/.footprint
@@ -1,3 +1,7 @@
+drwxr-xr-x root/root lib/
+lrwxrwxrwx root/root lib/libattr.so -> libattr.so.1
+lrwxrwxrwx root/root lib/libattr.so.1 -> libattr.so.1.1.0
+-rw-r--r-- root/root lib/libattr.so.1.1.0
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/attr
@@ -12,9 +16,7 @@ drwxr-xr-x root/root usr/include/attr/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libattr.a
-rw-r--r-- root/root usr/lib/libattr.la
-lrwxrwxrwx root/root usr/lib/libattr.so -> /usr/lib/libattr.so.1
-lrwxrwxrwx root/root usr/lib/libattr.so.1 -> libattr.so.1.1.0
--rw-r--r-- root/root usr/lib/libattr.so.1.1.0
+lrwxrwxrwx root/root usr/lib/libattr.so -> ../../lib/libattr.so.1
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/doc/
drwxr-xr-x root/root usr/share/doc/attr/
diff --git a/base/libattr/Pkgfile b/base/libattr/Pkgfile
index 5d54497b4..e9d7222de 100644
--- a/base/libattr/Pkgfile
+++ b/base/libattr/Pkgfile
@@ -1,27 +1,27 @@
-# Description: Extented attributes library
-# URL: http://acl.bestbits.at/
-# Maintainer: Antti Nykanen, aon at iki dot fi
+# 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/attr-${version}.src.tar.gz)
+source=(http://kiao.no-ip.info/NuTyX/files/attr-$version.src.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
+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
- rm $PKG/usr/lib/libattr.so
- ln -s /usr/lib/libattr.so.1 $PKG/usr/lib/libattr.so
+cd $PKG
- # 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
+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
}