diff --git a/srcpkgs/libgtop-devel b/srcpkgs/libgtop-devel new file mode 120000 index 00000000000..9934f676c73 --- /dev/null +++ b/srcpkgs/libgtop-devel @@ -0,0 +1 @@ +../libgtop \ No newline at end of file diff --git a/srcpkgs/libgtop/depends b/srcpkgs/libgtop/depends new file mode 100644 index 00000000000..a292caca773 --- /dev/null +++ b/srcpkgs/libgtop/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.28.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgtop/libgtop-devel.template b/srcpkgs/libgtop/libgtop-devel.template new file mode 100644 index 00000000000..03f437b7c3a --- /dev/null +++ b/srcpkgs/libgtop/libgtop-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libgtop-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gtk-doc,info} ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libgtop/template b/srcpkgs/libgtop/template new file mode 100644 index 00000000000..bb5e070e00c --- /dev/null +++ b/srcpkgs/libgtop/template @@ -0,0 +1,24 @@ +# Template build file for 'libgtop'. +pkgname=libgtop +version=2.28.1 +distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var -with-libgtop-smp" +short_desc="Library to retrieve system information, used in GNOME" +maintainer="Juan RP " +checksum=0a7e0e7d736a608a5ed25f8e475a87bf38e61dbef66822e25e8ef50705cf70f6 +long_desc=" + libgtop is a library that fetches system information about the running + system such as cpu and memory usage, active processes etc. It + provides a setgid server that fetches the information and a + client-side library that talks to this server." + +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libXau +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build glib-devel +Add_dependency build libXau-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 8c9d32a56b1..bc5be4ea100 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -520,3 +520,4 @@ libgnomekbd.so libgnomekbd libgnomekbd-devel libgnomekbdui.so libgnomekbd libgnomekbd-devel libcanberra.so libcanberra libcanberra-devel libcanberra-gtk.so libcanberra libcanberra-devel +libgtop-2.0.so libgtop libgtop-devel