From fc7fe373c1226861e476abb9bde7880620bab110 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 15 Oct 2012 22:45:16 +0200 Subject: [PATCH] New package: libstatgrab-0.17. --- common/shlibs | 1 + srcpkgs/libstatgrab-devel | 1 + srcpkgs/libstatgrab/libstatgrab-devel.template | 14 ++++++++++++++ srcpkgs/libstatgrab/libstatgrab.rshlibs | 2 ++ srcpkgs/libstatgrab/template | 18 ++++++++++++++++++ 5 files changed, 36 insertions(+) create mode 120000 srcpkgs/libstatgrab-devel create mode 100644 srcpkgs/libstatgrab/libstatgrab-devel.template create mode 100644 srcpkgs/libstatgrab/libstatgrab.rshlibs create mode 100644 srcpkgs/libstatgrab/template diff --git a/common/shlibs b/common/shlibs index d3472993bcd..a28d116397e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1099,3 +1099,4 @@ libr_cons.so.0.9.2 radare2-0.9.2_1 libr_config.so.0.9.2 radare2-0.9.2_1 libr_core.so.0.9.2 radare2-0.9.2_1 libzmq.so.3 zeromq-3.2.0_1 +libstatgrab.so.6 libstatgrab-0.17_1 diff --git a/srcpkgs/libstatgrab-devel b/srcpkgs/libstatgrab-devel new file mode 120000 index 00000000000..b923d645b9a --- /dev/null +++ b/srcpkgs/libstatgrab-devel @@ -0,0 +1 @@ +libstatgrab \ No newline at end of file diff --git a/srcpkgs/libstatgrab/libstatgrab-devel.template b/srcpkgs/libstatgrab/libstatgrab-devel.template new file mode 100644 index 00000000000..9cc3e99c72d --- /dev/null +++ b/srcpkgs/libstatgrab/libstatgrab-devel.template @@ -0,0 +1,14 @@ +# Template file for 'libstatgrab-devel'. +# +noarch=yes +depends="${sourcepkg}-${version}_${revision}" +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/man/man3 usr/share/man +} diff --git a/srcpkgs/libstatgrab/libstatgrab.rshlibs b/srcpkgs/libstatgrab/libstatgrab.rshlibs new file mode 100644 index 00000000000..e2dee4ee06b --- /dev/null +++ b/srcpkgs/libstatgrab/libstatgrab.rshlibs @@ -0,0 +1,2 @@ +libc.so.6 +libncursesw.so.6 diff --git a/srcpkgs/libstatgrab/template b/srcpkgs/libstatgrab/template new file mode 100644 index 00000000000..246e521eb9b --- /dev/null +++ b/srcpkgs/libstatgrab/template @@ -0,0 +1,18 @@ +# Template file for 'libstatgrab' +pkgname=libstatgrab +version=0.17 +revision=1 +subpackages="$pkgname-devel" +build_style=gnu-configure +configure_args="--disable-static" +makedepends="ncurses-devel" +short_desc="Library being useful interface to system statistics" +maintainer="Juan RP " +homepage="http://www.i-scream.org/libstatgrab" +license="LGPL-2.1, GPL-2" +distfiles="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=bbaa88c6bde8bd3cf2720b81a26528cc055a7e83e4ea3bdb1d0a3c4287cceb88 +long_desc=" + libstatgrab is a library which provides an easy to use interface for + accessing system statistics. Available statistics include CPU, Load, + Memory, Swap, Disk I/O, and Network I/O."