summaryrefslogtreecommitdiffstats
path: root/libcap/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 14:53:03 +0100
committerLukc <lukc@upyum.com>2010-12-12 14:53:03 +0100
commita1f54efc924b63e9519bb3d15438e91df2b471e2 (patch)
tree68bc5c23edd61ae35e1cbebcf509d81ba79c91d4 /libcap/Pkgfile
parentc522c0736b1bf4a22c3623d776a6834739d49666 (diff)
downloadbase-a1f54efc924b63e9519bb3d15438e91df2b471e2.tar.gz
base-a1f54efc924b63e9519bb3d15438e91df2b471e2.tar.bz2
base-a1f54efc924b63e9519bb3d15438e91df2b471e2.tar.xz
base-a1f54efc924b63e9519bb3d15438e91df2b471e2.zip
Recette de libcap mise à jour.
Diffstat (limited to 'libcap/Pkgfile')
-rw-r--r--libcap/Pkgfile24
1 files changed, 12 insertions, 12 deletions
diff --git a/libcap/Pkgfile b/libcap/Pkgfile
index 988b0e2..a623ec6 100644
--- a/libcap/Pkgfile
+++ b/libcap/Pkgfile
@@ -1,21 +1,21 @@
-description="POSIX.1e capabilities library"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="POSIX.1e capabilities library."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/README"
depends=(attr)
name=libcap
version=2.19
release=1
-source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.19.tar.bz2)
+source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.bz2)
build ()
{
- cd libcap-$version;
- sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules;
- make;
- make DESTDIR=$PKG man_prefix=/usr install;
- install -d $PKG/usr/lib;
- mv $PKG/lib/libcap.a $PKG/usr/lib;
- rm $PKG/lib/libcap.so;
- ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so
+ cd libcap-$version;
+ sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules;
+ make;
+ make DESTDIR=$PKG man_prefix=$mandir install;
+ install -d $PKG/usr/lib;
+ mv $PKG/lib/libcap.a $PKG/usr/lib;
+ rm $PKG/lib/libcap.so;
+ ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so
}