smlinux/base/attr/attr.SMBuild

33 lines
748 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=attr
version=2.5.1
build=1sml
homepage="https://savannah.nongnu.org/projects/attr"
download="http://download.savannah.nongnu.org/releases/attr/attr-$version.tar.xz"
requires="musl"
desc="Tools for manipulating extended attributes on filesystems"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls
make
make install DESTDIR="$pkg"
mkfinalpkg
}
sha512sums="
d42787fedef0784c519931e9158dfb9fd51fedf5f1f59c7ea5c0877f6b4082abb9150a8e15dc02c467fd1ee2ef39c5c20c6b4c4d14dc7b3b47f6c2f9e637ad7e attr-2.5.1.tar.lz
"