wok-6.x view diffutils/receipt @ rev 9688
Fixed slim for cookutils (i think).
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 06 22:02:53 2011 +0000 (2011-05-06) |
parents | 6dc7a4df1585 |
children | ddb3260c079e |
line source
1 # SliTaz package receipt.
3 PACKAGE="diffutils"
4 VERSION="3.0"
5 CATEGORY="development"
6 SHORT_DESC="Show differences between two files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/diffutils/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr $CONFIGURE_ARGS &&
17 make &&
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 }
28 # Overlap busybox
29 pre_install()
30 {
31 rm -f $1/usr/bin/diff
32 rm -f $1/usr/bin/cmp
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox /usr/bin/diff
38 ln -s /bin/busybox /usr/bin/cmp
39 }