libcap-ng: update to 0.6.6, added -python subpkg.
This commit is contained in:
parent
8c46457c45
commit
b6381b2e87
5 changed files with 30 additions and 13 deletions
1
srcpkgs/libcap-ng-python
Symbolic link
1
srcpkgs/libcap-ng-python
Symbolic link
|
@ -0,0 +1 @@
|
|||
libcap-ng
|
|
@ -10,10 +10,9 @@ 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/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/share/man/man3 usr/share/man
|
||||
vmove usr/share/aclocal usr/share
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ Add_dependency run libcap-ng
|
|||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
||||
vmove usr/bin usr
|
||||
vmove usr/share usr
|
||||
}
|
||||
|
|
15
srcpkgs/libcap-ng/libcap-ng-python.template
Normal file
15
srcpkgs/libcap-ng/libcap-ng-python.template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'libcap-ng-python'.
|
||||
#
|
||||
short_desc="${sourcepkg} python bindings"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the python language bindings."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run python
|
||||
Add_dependency run libcap-ng
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove "usr/lib/python*" usr/lib/python
|
||||
}
|
|
@ -1,11 +1,13 @@
|
|||
# Template file for 'libcap-ng'
|
||||
pkgname=libcap-ng
|
||||
version=0.6.4
|
||||
version=0.6.6
|
||||
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=9d508706f72ba613e6afdcd02208e2491b3e0d4dff60867a7738ae8d352f0de8
|
||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
checksum=89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d
|
||||
long_desc="
|
||||
This library implements the user-space interfaces to the POSIX 1003.1e
|
||||
capabilities available in Linux kernels. These capabilities are a
|
||||
|
@ -15,6 +17,7 @@ long_desc="
|
|||
The libcap-ng library is intended to make programming with posix capabilities
|
||||
much easier than the traditional libcap library."
|
||||
|
||||
subpackages="$pkgname-devel $pkgname-progs"
|
||||
subpackages="$pkgname-devel $pkgname-progs $pkgname-python"
|
||||
Add_dependency run glibc
|
||||
Add_dependency build python
|
||||
Add_dependency build python-devel
|
||||
Add_dependency build swig
|
||||
|
|
Loading…
Reference in a new issue