smlinux/base/findutils/findutils.SMBuild
SMLinux 2f32197590 -> Overhauled build files in base. Almost all variable names in all build files are now in lower case to
prevent accidents with the general build environment. More changes in the build system and other section
   build files to follow.
-> Fixed library path in base/libical build file to prevent creation of lib64 directory
-> Fixed code that searches for an SMBuild file inside a package installer when installing from a package
   using base/pkgtools's installpkg script
-> Added a missing brace in base/findutils build file
-> Upgraded base/ntfs-3g to 2021.8.22
-> Temporarily removed rm -f command used to discard man pages in base/openssl build file
-> Added if/else check in base/rust build file to only extract rust toolchain in the absence of
   rust installation on the system
-> Upgraded base/syssstat to 12.5.5
2022-02-13 13:46:58 +05:30

41 lines
1.2 KiB
Text
Executable file

app=findutils
version=4.8.0
build=1sml
homepage='https://www.gnu.org/software/findutils/'
download='https://ftp.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz'
desc="POSIX-compliant utilities to locate files"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
patch -p1 < $srcdir/findutils.no.default.options.warnings.diff
patch -p1 < $srcdir/mountlist.c.patch
LDFLAGS="-static" \
./configure \
--prefix="" \
--sysconfdir=/etc \
--libexecdir=/lib
make
make install DESTDIR=$pkg
# Provided by mlocate
rm -f $pkg/bin/{locate,updatedb} $pkg/share/man/man1/{locate.1,updatedb.1}
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
eaa2da304dbeb2cd659b9210ac37da1bde4cd665c12a818eca98541c5ed5cba1050641fc0c39c0a446a5a7a87a8d654df0e0e6b0cee21752ea485188c9f1071e findutils-4.8.0.tar.xz
bacb78a89dab3fb52297c9b36178ef8c75c6d840f57508771084b355d43cfc2c77785c6361fbf694064288cfb8452095bf7552b156b059e04c4345db8e4e4a39 mountlist.c.patch
ec9853fe85374db4a83282a99ba6aea7b8a4cefcb32e83002b773c05877be4a631a75ac208e946b20a0e22b9281f56cf1a022a1f17a287aadf523b0a22e2a02a findutils.no.default.options.warnings.diff
"