2010-04-11 13:13:42 +00:00
|
|
|
# Template build file for 'libgtop'.
|
|
|
|
pkgname=libgtop
|
2011-08-30 14:04:56 +00:00
|
|
|
version=2.28.4
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="-with-libgtop-smp"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
|
|
|
makedepends="libglib-devel libXau-devel"
|
2010-04-11 13:13:42 +00:00
|
|
|
short_desc="Library to retrieve system information, used in GNOME"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-30 14:04:56 +00:00
|
|
|
homepage="http://www.gnome.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.bz2"
|
2011-08-30 14:04:56 +00:00
|
|
|
checksum=098568c08e412c0be2980a322ff3e7403a6d72192391d276a16943cbd3874182
|
2010-04-11 13:13:42 +00:00
|
|
|
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."
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libgtop-devel_package() {
|
|
|
|
depends="libglib-devel libXau-devel libgtop>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/info
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|
2010-04-11 13:13:42 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libgtop_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|