summaryrefslogtreecommitdiffstats
path: root/extra/libgtop/Pkgfile
blob: 50a6091dc05de6648a25de92a4005a95d316f930 (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: intltool
# 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=/usr \
			--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	install -v -m755 -d $PKG/usr/lib/libgtop/examples
	install -v -m755 examples/.libs/* \
	$PKG/usr/lib/libgtop/examples
	rm $PKG/usr/share/info/dir
	rm -r $PKG/usr/share/gtk-doc
	
}