summaryrefslogtreecommitdiffstats
path: root/libcap/Pkgfile
diff options
context:
space:
mode:
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
}