smlinux/base/diffutils/diffutils.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

34 lines
737 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=diffutils
version=3.6
build=1sml
homepage="https://www.gnu.org/software/diffutils/"
download="https://ftp.gnu.org/gnu/diffutils/diffutils-$version.tar.xz"
desc="Utilities to find and apply differences between files"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LDFLAGS="-static" \
./configure \
--prefix=/usr
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
356f3cdbfd575bf7ca692b2ab36aa9f6dde6d52c560823a6f76ef81c147715f7db499eb689f9ee125a50efe62ca61c0e8600714f2022013723cbc9d6cbe78d5b diffutils-3.6.tar.lz
"