summaryrefslogtreecommitdiffstats
path: root/abs/core/libstatgrab/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/libstatgrab/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/libstatgrab/PKGBUILD')
-rw-r--r--abs/core/libstatgrab/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/libstatgrab/PKGBUILD b/abs/core/libstatgrab/PKGBUILD
new file mode 100644
index 0000000..ae38a47
--- /dev/null
+++ b/abs/core/libstatgrab/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Hugo Ideler <hugoideler@dse.nl>
+
+pkgname=libstatgrab
+pkgver=0.14
+pkgrel=1
+pkgdesc="A library that provides cross platform access to statistics about the system on which it's run"
+url="http://www.i-scream.org/libstatgrab"
+license=""
+depends=()
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+arch=('i686')
+install=
+source=(ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+
+#What you get when people make broken Makefiles...
+sed -i -e 's:chown root ${exec_prefix}/bin/statgrab::' ./src/statgrab/Makefile
+sed -i -e 's:chmod u+s ${exec_prefix}/bin/statgrab::' ./src/statgrab/Makefile
+sed -i -e 's:chown root ${exec_prefix}/bin/saidar::' ./src/saidar/Makefile
+sed -i -e 's:chmod u+s ${exec_prefix}/bin/saidar::' ./src/saidar/Makefile
+ make DESTDIR=$startdir/pkg install
+#MAKE="make DESTDIR=$startdir/pkg prefix=$startdir/pkg"
+}