wok view findutils/receipt @ rev 23332

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