wok-next view diffutils/receipt @ rev 19685

Up backup-manager (0.7.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 10 09:24:49 2017 +0200 (2017-04-10)
parents 9e01bc6321ea
children 7387df590f12
line source
1 # SliTaz package receipt.
3 PACKAGE="diffutils"
4 VERSION="3.5"
5 CATEGORY="development"
6 SHORT_DESC="Show differences between two files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/diffutils/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure $CONFIGURE_ARGS && make && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 cook_copy_folders bin
24 }
26 # Overlap busybox
27 post_remove()
28 {
29 ln -s /bin/busybox "$1/usr/bin/diff"
30 ln -s /bin/busybox "$1/usr/bin/cmp"
31 }