wok view findutils/receipt @ rev 2503

libgsf: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 12:04:46 2009 +0000 (2009-03-16)
parents 60108769bcba
children 48b90c1f6c46
line source
1 # SliTaz package receipt.
3 PACKAGE="findutils"
4 VERSION="4.4.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Utilities and tools to find/locate."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-base-files"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/findutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib/findutils \
20 --localstatedir=/var \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 }
36 # Prevent erasing busybox...
37 pre_install()
38 {
39 local root
40 root=$1
41 rm -f $root/usr/bin/find
42 }
44 post_remove()
45 {
46 ln -s /bin/busybox /usr/bin/find
47 }