wok-4.x view findutils/receipt @ rev 5906
Up libiec61883-dev (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 13:40:17 2010 +0200 (2010-07-26) |
parents | f779db80fe51 |
children | 52bbb253bbef |
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 }
42 post_remove()
43 {
44 ln -s /bin/busybox /usr/bin/find
45 }