wok-next view diffutils/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
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 }