From 12622f68734ec477cdfbfa439b829dff234f5ec0 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sun, 27 Oct 2013 17:55:32 +1100 Subject: [PATCH] libcap-32: initial import --- libcap-32/.32bit | 0 libcap-32/.footprint | 6 ++++++ libcap-32/.md5sum | 1 + libcap-32/Pkgfile | 20 ++++++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 libcap-32/.32bit create mode 100644 libcap-32/.footprint create mode 100644 libcap-32/.md5sum create mode 100644 libcap-32/Pkgfile diff --git a/libcap-32/.32bit b/libcap-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/libcap-32/.footprint b/libcap-32/.footprint new file mode 100644 index 00000000..b0fd550e --- /dev/null +++ b/libcap-32/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libcap.a +lrwxrwxrwx root/root usr/lib32/libcap.so -> libcap.so.2 +lrwxrwxrwx root/root usr/lib32/libcap.so.2 -> libcap.so.2.22 +-rw-r--r-- root/root usr/lib32/libcap.so.2.22 diff --git a/libcap-32/.md5sum b/libcap-32/.md5sum new file mode 100644 index 00000000..5bd38b62 --- /dev/null +++ b/libcap-32/.md5sum @@ -0,0 +1 @@ +ce64058bdb3f086ddbfca8ce6c919845 libcap-2.22.tar.bz2 diff --git a/libcap-32/Pkgfile b/libcap-32/Pkgfile new file mode 100644 index 00000000..0d9a5826 --- /dev/null +++ b/libcap-32/Pkgfile @@ -0,0 +1,20 @@ +# Description: POSIX.1e capabilities library +# URL: http://sites.google.com/site/fullycapable/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: attr-32 + +name=libcap-32 +version=2.22 +release=1 +source=(http://crux.s3.amazonaws.com/dist/libcap-$version.tar.bz2) + +build() { + cd libcap-$version + + sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules + + make -C libcap + make -C libcap DESTDIR=$PKG man_prefix=/usr lib=/usr/lib32 install + + rm -r $PKG/usr/include +}