wok view findutils/receipt @ rev 20933

updated fossil (1.25 -> 2.7)
author Hans-G?nter Theisgen
date Sat Mar 02 14:48:32 2019 +0100 (2019-03-02)
parents 9e01bc6321ea
children 3385f0b3d5af
line source
1 # SliTaz package receipt.
3 PACKAGE="findutils"
4 VERSION="4.6.0"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU utilities and tools to find/locate."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/findutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base slitaz-base-files"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }
38 # Remove Busybox symlink before installing
39 pre_install()
40 {
41 rm -f "$1/usr/bin/find"
42 rm -f "$1/usr/bin/xargs"
43 }
45 post_remove()
46 {
47 ln -s /bin/busybox /usr/bin/find
48 ln -s /bin/busybox /usr/bin/xargs
49 }