diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-libcap |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-libcap')
-rw-r--r-- | multilib/lib32-libcap/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/multilib/lib32-libcap/PKGBUILD b/multilib/lib32-libcap/PKGBUILD new file mode 100644 index 000000000..465de6153 --- /dev/null +++ b/multilib/lib32-libcap/PKGBUILD @@ -0,0 +1,26 @@ +#$Id: PKGBUILD 64614 2010-01-21 11:40:53Z allan $ +# Maintainer: Hugo Doria <hugo@archlinux.org> + +_pkgbasename=libcap +pkgname=lib32-$_pkgbasename +pkgver=2.19 +pkgrel=4 +pkgdesc="POSIX 1003.1e capabilities (32-bit)" +arch=(x86_64) +url="http://www.kernel.org/pub/linux/libs/security/linux-privs/" +license=('GPL') +depends=('lib32-attr' $_pkgbasename) +makedepends=('gcc-multilib') +source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${_pkgbasename}-${pkgver}.tar.gz) +md5sums=('9caa6dafc9e3db4cbaecdb8e48f23fa2') + +build() { + cd ${srcdir}/${_pkgbasename}-${pkgver} + + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + make -C libcap CC="gcc -m32" prefix=/usr lib=lib32 DESTDIR=${pkgdir} install + chmod 755 ${pkgdir}/usr/lib32/libcap.so.${pkgver} + + rm -rf "${pkgdir}/usr/include" +} |