summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/libattr/.footprint26
-rw-r--r--base/libattr/.md5sum1
-rw-r--r--base/libattr/Pkgfile27
3 files changed, 54 insertions, 0 deletions
diff --git a/base/libattr/.footprint b/base/libattr/.footprint
new file mode 100644
index 000000000..8ea2a04a8
--- /dev/null
+++ b/base/libattr/.footprint
@@ -0,0 +1,26 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/attr/
+-rw-r--r-- root/root usr/include/attr/attributes.h
+-rw-r--r-- root/root usr/include/attr/error_context.h
+-rw-r--r-- root/root usr/include/attr/libattr.h
+-rw-r--r-- root/root usr/include/attr/xattr.h
+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
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/attr_get.3.gz
+lrwxrwxrwx root/root usr/share/man/man3/attr_getf.3.gz -> attr_get.3.gz
+-rw-r--r-- root/root usr/share/man/man3/attr_list.3.gz
+lrwxrwxrwx root/root usr/share/man/man3/attr_listf.3.gz -> attr_list.3.gz
+-rw-r--r-- root/root usr/share/man/man3/attr_multi.3.gz
+lrwxrwxrwx root/root usr/share/man/man3/attr_multif.3.gz -> attr_multi.3.gz
+-rw-r--r-- root/root usr/share/man/man3/attr_remove.3.gz
+lrwxrwxrwx root/root usr/share/man/man3/attr_removef.3.gz -> attr_remove.3.gz
+-rw-r--r-- root/root usr/share/man/man3/attr_set.3.gz
+lrwxrwxrwx root/root usr/share/man/man3/attr_setf.3.gz -> attr_set.3.gz
diff --git a/base/libattr/.md5sum b/base/libattr/.md5sum
new file mode 100644
index 000000000..5d688d702
--- /dev/null
+++ b/base/libattr/.md5sum
@@ -0,0 +1 @@
+91583a14bcbd637adaa9b07ea49c5d4b attr_2.4.43-1.tar.gz
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
+}