From 1409ec5fcdddba14f8ba9c9f76ca1e66d80d55fe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 5 Nov 2011 09:39:57 +0100 Subject: [PATCH] New package: libcgroup-0.37.1. --- srcpkgs/libcgroup-devel | 1 + srcpkgs/libcgroup/depends | 2 ++ srcpkgs/libcgroup/libcgroup-devel.template | 15 +++++++++++++++ srcpkgs/libcgroup/template | 20 ++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 39 insertions(+) create mode 120000 srcpkgs/libcgroup-devel create mode 100644 srcpkgs/libcgroup/depends create mode 100644 srcpkgs/libcgroup/libcgroup-devel.template create mode 100644 srcpkgs/libcgroup/template diff --git a/srcpkgs/libcgroup-devel b/srcpkgs/libcgroup-devel new file mode 120000 index 0000000000..24743e8b0d --- /dev/null +++ b/srcpkgs/libcgroup-devel @@ -0,0 +1 @@ +libcgroup \ No newline at end of file diff --git a/srcpkgs/libcgroup/depends b/srcpkgs/libcgroup/depends new file mode 100644 index 0000000000..a438b6d105 --- /dev/null +++ b/srcpkgs/libcgroup/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.37.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libcgroup/libcgroup-devel.template b/srcpkgs/libcgroup/libcgroup-devel.template new file mode 100644 index 0000000000..6bcc113676 --- /dev/null +++ b/srcpkgs/libcgroup/libcgroup-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libcgroup-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libcgroup + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/libcgroup/template b/srcpkgs/libcgroup/template new file mode 100644 index 0000000000..e318ea6b44 --- /dev/null +++ b/srcpkgs/libcgroup/template @@ -0,0 +1,20 @@ +# Template file for 'libcgroup' +pkgname=libcgroup +version=0.37.1 +homepage="http://libcg.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/libcg/$pkgname-$version.tar.bz2" +build_style=gnu-configure +short_desc="Library that abstracts the control group file system in Linux" +maintainer="Juan RP " +license="LGPL-2.1" +checksum=0b08632de5d3641aa554b422d02a77d9367e57933328a8765204ad9588cd5c0d +long_desc=" + ${pkgname} aims to provide programmers easily usable APIs to use the + control group file system." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run pam + +Add_dependency build flex +Add_dependency build pam-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 86d36e6ecd..1bc1352d64 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -984,3 +984,4 @@ libcomposer.so.0 libevolution evolution-devel libeutil.so.0 libevolution evolution-devel libeshell.so.0 libevolution evolution-devel libgsm.so libgsm libgsm-devel +libcgroup.so.1 libcgroup libcgroup-devel