summaryrefslogtreecommitdiffstats
path: root/extra/libgtop/Pkgfile
blob: 3c68174c85568f7b991c11a47b9936a493e2b4c2 (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
27
28
# Description: Bibliothèque permettant de récupérer des informations à propos du système lancé
# URL: http://www.gnu.org/directory/libs/LibGTop.html
# Maintainer: NuTyX GNOME team
# Packager: b at juglas dot name
# Depends on: intltool, gobject-introspection
# Run on: 

name=libgtop
version=2.28.4
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--infodir=/usr/share/info \
		--disable-gtk-doc \
		--with-libgtop-smp \
		--with-x
	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 -rf $PKG/usr/share/info/dir
	rm -rf $PKG/usr/share/gtk-doc
}