wok-next view findutils/receipt @ rev 19561

Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 16 01:16:56 2016 +0200 (2016-12-16)
parents 9e01bc6321ea
children 7387df590f12
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 WEB_SITE="https://www.gnu.org/software/findutils/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 --localstatedir=/var/lib/locate \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cook_copy_folders bin libexec
30 }
32 # Restore Busybox symlinks after removing the package
33 post_remove()
34 {
35 ln -s /bin/busybox /usr/bin/find
36 ln -s /bin/busybox /usr/bin/xargs
37 }