summaryrefslogtreecommitdiffstats
path: root/extra/libgtop/Pkgfile
blob: c155ffeaa5497329b0148ee623e1a150e541c39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: library that fetches information about the running system
# URL: http://www.gnu.org/directory/libs/LibGTop.html
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Packager: thierryn1 at hispeed dot ch
# Depends on: glib, xorg 
# Run on:

name=libgtop
version=2.28.1
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2)

build() {
	cd $name-$version
	./configure --prefix=$GNOME_PREFIX \
			--infodir=$GNOME_PREFIX/share/info
	make
	make DESTDIR=$PKG install
	install -v -m755 -d $PKG/$GNOME_PREFIX/lib/libgtop/examples
	install -v -m755 examples/.libs/* \
	$PKG/$GNOME_PREFIX/lib/libgtop/examples
	rm $PKG/$GNOME_PREFIX/share/info/dir
	rm -r $PKG/$GNOME_PREFIX/share/gtk-doc
	
}