Added libgtop-2.28.1 build template.

--HG--
extra : convert_revision : 8a8bb6a62fd23e28df5efdfb25ffad42e880c358
This commit is contained in:
Juan RP 2010-04-11 15:13:42 +02:00
parent 6b0555680c
commit 02cec7fca2
5 changed files with 43 additions and 0 deletions

1
srcpkgs/libgtop-devel Symbolic link
View file

@ -0,0 +1 @@
../libgtop

2
srcpkgs/libgtop/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=2.28.1"
api_depends="${abi_depends}"

View file

@ -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
}

24
srcpkgs/libgtop/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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

View file

@ -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