| 1 | # Description: System Utilities Based on Sysfs |
| 2 | # URL: http://linux-diag.sourceforge.net/Sysfsutils.html |
| 3 | # Packager: Daniel Mueller, daniel at danm dot de |
| 4 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: |
| 7 | |
| 8 | name=sysfsutils |
| 9 | version=2.1.0 |
| 10 | release=2 |
| 11 | source=(http://downloads.sourceforge.net/project/linux-diag/$name/$version/$name-$version.tar.gz) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | export CTARGET="arm-crux-linux-gnueabi" |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --mandir=/usr/share/man |
| 20 | make |
| 21 | make DESTDIR=$PKG install |
| 22 | rm -f $PKG/usr/bin/dlist_test |
| 23 | } |