wok-6.x view findutils/receipt @ rev 15183

cherokee: new init script
author Richard Dunbar <mojo@slitaz.org>
date Wed Aug 21 14:06:05 2013 +0000 (2013-08-21)
parents 52bbb253bbef
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="findutils"
4 VERSION="4.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU utilities and tools to find/locate."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/findutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base slitaz-base-files"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/findutils \
22 --localstatedir=/var \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }
38 # Remove Busybox symlink before installing
39 pre_install()
40 {
41 rm -f $1/usr/bin/find
42 rm -f $1/usr/bin/xargs
43 }
45 post_remove()
46 {
47 ln -s /bin/busybox /usr/bin/find
48 ln -s /bin/busybox /usr/bin/xargs
49 }