PKGBUILDs/core/sysfsutils/PKGBUILD

28 lines
697 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2009-09-26 17:10:12 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=sysfsutils
pkgver=2.1.0
pkgrel=6
pkgdesc="System Utilities Based on Sysfs"
arch=(arm)
license=('GPL' 'LGPL')
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
groups=('base')
2009-09-26 17:10:12 +00:00
depends=()
2009-09-26 14:35:50 +00:00
source=(http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz)
md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
options=(!libtool)
build() {
cd $srcdir/$pkgname-$pkgver
2009-09-26 17:10:12 +00:00
./configure --prefix=/opt --mandir=/opt/share/man
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR=$pkgdir install
cd $pkgdir
2009-09-26 17:10:12 +00:00
# mkdir -v lib
# mv -v usr/lib/libsysfs.so.2* lib/
ln -svf opt/lib/libsysfs.so.2 opt/lib/libsysfs.so
2009-09-26 14:35:50 +00:00
}