mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
756 B
Bash
29 lines
756 B
Bash
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||
|
|
||
|
# Plugbox changes: Just a bump of pkgrel, if it goes above 7, delete me
|
||
|
|
||
|
pkgname=sysfsutils
|
||
|
pkgver=2.1.0
|
||
|
pkgrel=7
|
||
|
pkgdesc="System Utilities Based on Sysfs"
|
||
|
arch=('arm')
|
||
|
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 || return 1
|
||
|
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
|
||
|
}
|