wok-current annotate findutils/receipt @ rev 22760

updated findutils (4.6.0 -> 4.7.0)
author Hans-G?nter Theisgen
date Fri Jan 24 17:10:12 2020 +0100 (2020-01-24)
parents 59309d227b73
children 71360a13cd94
rev   line source
pankso@839 1 # SliTaz package receipt.
pankso@839 2
pankso@839 3 PACKAGE="findutils"
Hans-G?nter@22760 4 VERSION="4.7.0"
pankso@839 5 CATEGORY="utilities"
Hans-G?nter@22760 6 SHORT_DESC="GNU utilities and tools to find and locate."
pankso@839 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@22760 9 WEB_SITE="https://www.gnu.org/software/findutils/"
Hans-G?nter@22760 10
Hans-G?nter@22760 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@839 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@839 13
pascal@14999 14 DEPENDS="glibc-base slitaz-base-files"
pascal@14999 15
pankso@839 16 # Rules to configure and make the package.
pankso@839 17 compile_rules()
pankso@839 18 {
Hans-G?nter@22760 19 ./configure \
Hans-G?nter@22760 20 --prefix=/usr \
Hans-G?nter@22760 21 --libexecdir=/usr/lib/findutils \
Hans-G?nter@22760 22 --localstatedir=/var \
Hans-G?nter@22760 23 --infodir=/usr/share/info \
Hans-G?nter@22760 24 --mandir=/usr/share/man \
pankso@2741 25 $CONFIGURE_ARGS &&
pankso@2741 26 make &&
pascal@14999 27 make DESTDIR=$DESTDIR install
pankso@839 28 }
pankso@839 29
pankso@839 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@839 31 genpkg_rules()
pankso@839 32 {
pankso@839 33 mkdir -p $fs/usr/bin
Hans-G?nter@22760 34
Hans-G?nter@22760 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22760 36 cp -a $install/usr/lib $fs/usr
pankso@839 37 }
pankso@839 38
rcx@3666 39 # Remove Busybox symlink before installing
pankso@839 40 pre_install()
pankso@839 41 {
pascal@18730 42 rm -f "$1/usr/bin/find"
pascal@18730 43 rm -f "$1/usr/bin/xargs"
pankso@839 44 }
pankso@839 45
pankso@839 46 post_remove()
pankso@839 47 {
pankso@839 48 ln -s /bin/busybox /usr/bin/find
slaxemulator@6258 49 ln -s /bin/busybox /usr/bin/xargs
pankso@839 50 }