diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/sysfsutils/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/sysfsutils/PKGBUILD')
-rw-r--r-- | core/sysfsutils/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/sysfsutils/PKGBUILD b/core/sysfsutils/PKGBUILD new file mode 100644 index 000000000..9749d29b4 --- /dev/null +++ b/core/sysfsutils/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 108847 2011-02-04 11:49:39Z stephane $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=sysfsutils +pkgver=2.1.0 +pkgrel=6 +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) +md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc') +options=(!libtool) + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + cd "${pkgdir}" + mkdir -v lib + mv -v usr/lib/libsysfs.so.2* lib/ + ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so +} |