35 lines
804 B
Text
35 lines
804 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=sysfsutils
|
|
version=2.1.0
|
|
build=1sml
|
|
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
download="https://sourceforge.net/projects/linux-diag/files/sysfsutils/$version/sysfsutils-$version.tar.gz"
|
|
desc="Utilities for the sysfs filesystem"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
4f55924b84d5215cbe105d6628acc5c7acdbbd078c5ae4a2738b9abc8bdfd94bede8cc53c48a167cad204eef4666f1cffea1c88d5d175e204dd570a7db5c9b67 sysfsutils-2.1.0.tar.lz
|
|
"
|