From 4d99948e37e1b28dc5d27486776e1bd19943a619 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 14 May 2010 18:27:14 +0000 Subject: [PATCH] libattr: initial import (verified compilation) --- libattr/.footprint | 36 ++++++++++++++++++++++++++++++++++++ libattr/.md5sum | 1 + libattr/Pkgfile | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 libattr/.footprint create mode 100644 libattr/.md5sum create mode 100644 libattr/Pkgfile diff --git a/libattr/.footprint b/libattr/.footprint new file mode 100644 index 0000000..0488d17 --- /dev/null +++ b/libattr/.footprint @@ -0,0 +1,36 @@ +drwxr-xr-x root/root bin/ +-rwxr-xr-x root/root bin/attr +-rwxr-xr-x root/root bin/getfattr +-rwxr-xr-x root/root bin/setfattr +drwxr-xr-x root/root lib/ +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/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 -> ../../lib/libattr.so.1.1.0 +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/attr.1.gz +-rw-r--r-- root/root usr/man/man1/getfattr.1.gz +-rw-r--r-- root/root usr/man/man1/setfattr.1.gz +drwxr-xr-x root/root usr/man/man3/ +-rw-r--r-- root/root usr/man/man3/attr_get.3.gz +lrwxrwxrwx root/root usr/man/man3/attr_getf.3.gz -> attr_get.3.gz +-rw-r--r-- root/root usr/man/man3/attr_list.3.gz +lrwxrwxrwx root/root usr/man/man3/attr_listf.3.gz -> attr_list.3.gz +-rw-r--r-- root/root usr/man/man3/attr_multi.3.gz +lrwxrwxrwx root/root usr/man/man3/attr_multif.3.gz -> attr_multi.3.gz +-rw-r--r-- root/root usr/man/man3/attr_remove.3.gz +lrwxrwxrwx root/root usr/man/man3/attr_removef.3.gz -> attr_remove.3.gz +-rw-r--r-- root/root usr/man/man3/attr_set.3.gz +lrwxrwxrwx root/root usr/man/man3/attr_setf.3.gz -> attr_set.3.gz +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/attr.5.gz diff --git a/libattr/.md5sum b/libattr/.md5sum new file mode 100644 index 0000000..bace823 --- /dev/null +++ b/libattr/.md5sum @@ -0,0 +1 @@ +d132c119831c27350e10b9f885711adc attr-2.4.44.src.tar.gz diff --git a/libattr/Pkgfile b/libattr/Pkgfile new file mode 100644 index 0000000..d467bba --- /dev/null +++ b/libattr/Pkgfile @@ -0,0 +1,38 @@ +# Description: Extented attributes library +# URL: http://savannah.nongnu.org/projects/attr/ +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Packager: Antti Nykanen, aon at iki dot fi +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: + +name=libattr +version=2.4.44 +release=1 +source=(http://mirrors.zerg.biz/nongnu/attr/attr-$version.src.tar.gz) + +build() { + cd attr-$version + + export DEBUG=-DNDEBUG + export OPTIMIZER=$CFLAGS + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --bindir=/bin \ + --libexecdir=/usr/lib \ + --mandir=/usr/man + + make + make DIST_ROOT=$PKG install install-lib install-dev + + install -d $PKG/lib + mv $PKG/usr/lib/libattr.so.* $PKG/lib + rm $PKG/usr/lib/libattr.so + ln -s ../../lib/libattr.so.1.1.0 $PKG/usr/lib/libattr.so + + # category 2 manuals are included in core/man-pages + rm -r $PKG/usr/man/man2 + + rm -r $PKG/usr/share +} -- 2.26.2