wok-next annotate findutils/receipt @ rev 11398

Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 13:19:00 2011 +0100 (2011-12-10)
parents 96c063629513
children 2b9f96603415
rev   line source
pankso@839 1 # SliTaz package receipt.
pankso@839 2
pankso@839 3 PACKAGE="findutils"
rcx@3666 4 VERSION="4.4.2"
pankso@839 5 CATEGORY="utilities"
rcx@3666 6 SHORT_DESC="GNU utilities and tools to find/locate."
pankso@839 7 MAINTAINER="pankso@slitaz.org"
rcx@3667 8 DEPENDS="glibc-base slitaz-base-files"
pankso@839 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@839 10 WEB_SITE="http://www.gnu.org/software/findutils/"
pankso@839 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@839 12
pankso@839 13 # Rules to configure and make the package.
pankso@839 14 compile_rules()
pankso@839 15 {
pankso@839 16 cd $src
pankso@839 17 ./configure \
pankso@839 18 --prefix=/usr \
pankso@839 19 --libexecdir=/usr/lib/findutils \
pankso@839 20 --localstatedir=/var \
pankso@839 21 --infodir=/usr/share/info \
pankso@839 22 --mandir=/usr/share/man \
pankso@2741 23 $CONFIGURE_ARGS &&
pankso@2741 24 make &&
pankso@839 25 make DESTDIR=$PWD/_pkg install
pankso@839 26 }
pankso@839 27
pankso@839 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@839 29 genpkg_rules()
pankso@839 30 {
pankso@839 31 mkdir -p $fs/usr/bin
pankso@839 32 cp -a $_pkg/usr/bin $fs/usr
pankso@839 33 cp -a $_pkg/usr/lib $fs/usr
pankso@839 34 }
pankso@839 35
rcx@3666 36 # Remove Busybox symlink before installing
pankso@839 37 pre_install()
pankso@839 38 {
pankso@2741 39 rm -f $1/usr/bin/find
slaxemulator@6258 40 rm -f $1/usr/bin/xargs
pankso@839 41 }
pankso@839 42
pankso@839 43 post_remove()
pankso@839 44 {
pankso@839 45 ln -s /bin/busybox /usr/bin/find
slaxemulator@6258 46 ln -s /bin/busybox /usr/bin/xargs
pankso@839 47 }