summaryrefslogtreecommitdiffstats
path: root/extra/libgtop/Pkgfile
blob: 3f34ce0eb46adfd8158d0739c2e6c9c62a038141 (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, popt, xorg 
# Group: gnome/desktop

name=libgtop
version=2.26.1
release=1
gnomever=2.26.3
source=(http://download.gnome.org/desktop/${gnomever%.*}/$gnomever/sources/$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 $GNOME_PREFIX/lib/libgtop/examples
	install -v -m755 examples/.libs/* $GNOME_PREFIX/lib/libgtop/examples
	rm $PKG/usr/share/info/dir
	
}