wok-6.x annotate findutils/receipt @ rev 3667

Depends: findutils
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jul 10 10:11:30 2009 +0000 (2009-07-10)
parents f779db80fe51
children 52bbb253bbef
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
pankso@839 40 }
pankso@839 41
pankso@839 42 post_remove()
pankso@839 43 {
pankso@839 44 ln -s /bin/busybox /usr/bin/find
pankso@839 45 }