summaryrefslogtreecommitdiffstats
path: root/libgtop/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libgtop/Pkgfile')
-rw-r--r--libgtop/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/libgtop/Pkgfile b/libgtop/Pkgfile
new file mode 100644
index 0000000..c884569
--- /dev/null
+++ b/libgtop/Pkgfile
@@ -0,0 +1,25 @@
+# Description: library that fetches information about the running system
+# URL: http://www.gnu.org/directory/libs/LibGTop.html
+# Maintainer: NuTyX GNOME team
+# Packager: b at juglas dot name
+# Depends on: glib, intltool
+# Run on: glib
+
+name=libgtop
+version=2.28.3
+release=1
+source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --infodir=/usr/share/info \
+ --disable-gtk-doc
+ 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
+}