Added libcap-ng-0.6.2 build template.

--HG--
extra : convert_revision : 8bd656eaadd1c2f849b6a7146b62d5d62c0bec14
This commit is contained in:
Juan RP 2009-12-02 22:06:56 +01:00
parent 5ccc1f1773
commit 18f41bd4df
6 changed files with 59 additions and 0 deletions

1
srcpkgs/libcap-ng-devel Symbolic link
View File

@ -0,0 +1 @@
libcap-ng

1
srcpkgs/libcap-ng-progs Symbolic link
View File

@ -0,0 +1 @@
libcap-ng

View File

@ -0,0 +1,2 @@
abi_depends=">=0.6.2"
api_depends="${abi_depends}"

View File

@ -0,0 +1,20 @@
# Template file for 'libcap-ng-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libcap-ng
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libcap-ng.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libcap-ng.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
}

View File

@ -0,0 +1,16 @@
# Template file for 'libcap-ng-progs'.
#
short_desc="${sourcepkg} utilities"
long_desc="${long_desc}
This package contains binary utilities provided by the ${sourcepkg} package."
Add_dependency run glibc
Add_dependency run libcap-ng
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

View File

@ -0,0 +1,19 @@
# Template file for 'libcap-ng'
pkgname=libcap-ng
version=0.6.2
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="An alternate posix capabilities library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1d230a03c7e6adf1c761730bf27cee694d6658e97581c9507e993c80a1fab0ff
long_desc="
This library implements the user-space interfaces to the POSIX 1003.1e
capabilities available in Linux kernels. These capabilities are a
partitioning of the all powerful root privilege into a set of distinct
privileges.
The libcap-ng library is intended to make programming with posix capabilities
much easier than the traditional libcap library."
subpackages="$pkgname-devel $pkgname-progs"
Add_dependency full glibc