wok-next view diffutils/receipt @ rev 10246
Up: bazaar to 2.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 02:01:43 2011 +0000 (2011-05-21) |
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 }