summaryrefslogtreecommitdiffstats
path: root/extra/libgtop/Pkgfile
blob: 8518585d9813c5c78fb4923f0c7fd7718e7fcbd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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
# Depends on: glib, xorg 

name=libgtop
version=2.28.0
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
	
}