summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 18:58:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 18:58:08 (GMT)
commiteea0e90753a9eed14aa70cf569ebc7a4b1221955 (patch)
tree7e260c3c0869155d4e4c8ac9ec4baec5ee6094bb /abs/core
parent55bc17acaca599bca61c37774a3621629aaff079 (diff)
downloadlinhes_pkgbuild-eea0e90753a9eed14aa70cf569ebc7a4b1221955.zip
linhes_pkgbuild-eea0e90753a9eed14aa70cf569ebc7a4b1221955.tar.gz
linhes_pkgbuild-eea0e90753a9eed14aa70cf569ebc7a4b1221955.tar.bz2
sysfsutils 2.1.0
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/sysfsutils/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/abs/core/sysfsutils/PKGBUILD b/abs/core/sysfsutils/PKGBUILD
index 7d4861d..1fa9bc5 100644
--- a/abs/core/sysfsutils/PKGBUILD
+++ b/abs/core/sysfsutils/PKGBUILD
@@ -1,31 +1,32 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 158624 2012-05-05 03:20:18Z dreisner $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=sysfsutils
pkgver=2.1.0
-pkgrel=13
+pkgrel=8
pkgdesc="System Utilities Based on Sysfs"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
groups=('base')
depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/linux-diag/${pkgname}-${pkgver}.tar.gz)
md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
-
+options=(!libtool)
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg/ install
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
- cd "$startdir"/pkg
- mkdir -v lib
- mv -v usr/lib/libsysfs.so.2* lib/
- ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
-
- #libtoolslay
- find $startdir/pkg -name '*.la' -exec rm {} \;
+check() {
+ cd "$pkgname-$pkgver"
+ make check
}
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir/usr/lib/libsysfs.a"
+}