wok view diffutils/receipt @ rev 16059

ARM: add wget and nasm
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 11 23:30:55 2014 +0100 (2014-03-11)
parents ddb3260c079e
children 5922eeb8bfd6
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/diffutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/bin $fs/usr
27 }
29 # Overlap busybox
30 pre_install()
31 {
32 rm -f $1/usr/bin/diff
33 rm -f $1/usr/bin/cmp
34 }
36 post_remove()
37 {
38 ln -s /bin/busybox $1/usr/bin/diff
39 ln -s /bin/busybox $1/usr/bin/cmp
40 }