wok-current view diffutils/receipt @ rev 12442

obfsproxy: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 18:20:08 2012 +0200 (2012-04-21)
parents b90843fa3804
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="diffutils"
4 VERSION="3.2"
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=$DESTDIR 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 $1/usr/bin/diff
38 ln -s /bin/busybox $1/usr/bin/cmp
39 }