void-packages/srcpkgs/libgtop/template

40 lines
1.1 KiB
Text
Raw Normal View History

# Template build file for 'libgtop'.
pkgname=libgtop
2013-08-20 12:10:13 +00:00
version=2.28.5
revision=1
build_style=gnu-configure
configure_args="-with-libgtop-smp"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libglib-devel libXau-devel"
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-08-20 12:10:13 +00:00
distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.xz"
checksum=c812c174e44a8971a1f33265437cfd10f1e99869c7f5c05f8ee95846a70a3342
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."
libgtop-devel_package() {
depends="libglib-devel libXau-devel libgtop>=${version}"
2013-08-20 12:10:13 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-08-20 12:10:13 +00:00
vmove "usr/lib/*.so"
vmove usr/share/info
vmove usr/share/gir-1.0
2013-08-20 12:10:13 +00:00
vmove usr/share/gtk-doc
}
}
libgtop_package() {
pkg_install() {
vmove usr
}
}