Added libcap-ng-0.6.2 build template.
--HG-- extra : convert_revision : 8bd656eaadd1c2f849b6a7146b62d5d62c0bec14
This commit is contained in:
parent
5ccc1f1773
commit
18f41bd4df
6 changed files with 59 additions and 0 deletions
1
srcpkgs/libcap-ng-devel
Symbolic link
1
srcpkgs/libcap-ng-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libcap-ng
|
1
srcpkgs/libcap-ng-progs
Symbolic link
1
srcpkgs/libcap-ng-progs
Symbolic link
|
@ -0,0 +1 @@
|
|||
libcap-ng
|
2
srcpkgs/libcap-ng/depends
Normal file
2
srcpkgs/libcap-ng/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.6.2"
|
||||
api_depends="${abi_depends}"
|
20
srcpkgs/libcap-ng/libcap-ng-devel.template
Normal file
20
srcpkgs/libcap-ng/libcap-ng-devel.template
Normal 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
|
||||
}
|
16
srcpkgs/libcap-ng/libcap-ng-progs.template
Normal file
16
srcpkgs/libcap-ng/libcap-ng-progs.template
Normal 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
|
||||
}
|
19
srcpkgs/libcap-ng/template
Normal file
19
srcpkgs/libcap-ng/template
Normal 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
|
Loading…
Reference in a new issue