wok-4.x view findutils/receipt @ rev 3220
Up: mp (5.1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 21:30:39 2009 +0200 (2009-05-28) |
parents | 71a61ee766c9 |
children | f779db80fe51 |
line source
1 # SliTaz package receipt.
3 PACKAGE="findutils"
4 VERSION="4.4.1"
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 rm -f $1/usr/bin/find
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox /usr/bin/find
45 }