2009-12-02 21:06:56 +00:00
|
|
|
# Template file for 'libcap-ng'
|
|
|
|
pkgname=libcap-ng
|
2012-11-19 09:29:11 +00:00
|
|
|
version=0.7.1
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="python-devel swig"
|
2010-10-29 14:28:59 +00:00
|
|
|
short_desc="An alternate POSIX capabilities library"
|
2009-12-02 21:06:56 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-09 15:58:05 +00:00
|
|
|
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-08-13 08:10:48 +00:00
|
|
|
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
2012-11-19 09:29:11 +00:00
|
|
|
checksum=bf74455c9540667a924d2983090c4eb7285f0a4a82a25becd0a496e8bbf3d8ff
|
2009-12-02 21:06:56 +00:00
|
|
|
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."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libcap-ng-devel_package() {
|
|
|
|
depends="libcap-ng>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libcap-ng-progs_package() {
|
|
|
|
short_desc+=" -- utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libcap-ng-python_package() {
|
|
|
|
short_desc+=" -- python bindings"
|
|
|
|
depends="python"
|
|
|
|
pycompile_module="capng"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libcap-ng_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|