wok-next view findutils/receipt @ rev 12239
ocsinventory-agent: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:13:59 2012 +0200 (2012-04-09) |
parents | 96c063629513 |
children | 2b9f96603415 |
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 DEPENDS="glibc-base 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 # Remove Busybox symlink before installing
37 pre_install()
38 {
39 rm -f $1/usr/bin/find
40 rm -f $1/usr/bin/xargs
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /usr/bin/find
46 ln -s /bin/busybox /usr/bin/xargs
47 }