wok-next view diffutils/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
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 }