wok-next annotate 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 |
rev | line source |
---|---|
pankso@839 | 1 # SliTaz package receipt. |
pankso@839 | 2 |
pankso@839 | 3 PACKAGE="findutils" |
al@19561 | 4 VERSION="4.6.0" |
pankso@839 | 5 CATEGORY="utilities" |
rcx@3666 | 6 SHORT_DESC="GNU utilities and tools to find/locate." |
pankso@839 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19561 | 9 WEB_SITE="https://www.gnu.org/software/findutils/" |
al@19561 | 10 |
pankso@839 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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 { |
pankso@839 | 19 ./configure \ |
al@19561 | 20 --localstatedir=/var/lib/locate \ |
pankso@2741 | 21 $CONFIGURE_ARGS && |
pankso@2741 | 22 make && |
al@19561 | 23 make install |
pankso@839 | 24 } |
pankso@839 | 25 |
pankso@839 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@839 | 27 genpkg_rules() |
pankso@839 | 28 { |
al@19561 | 29 cook_copy_folders bin libexec |
pankso@839 | 30 } |
pankso@839 | 31 |
al@19561 | 32 # Restore Busybox symlinks after removing the package |
pankso@839 | 33 post_remove() |
pankso@839 | 34 { |
pankso@839 | 35 ln -s /bin/busybox /usr/bin/find |
slaxemulator@6258 | 36 ln -s /bin/busybox /usr/bin/xargs |
pankso@839 | 37 } |