wok-next annotate diffutils/receipt @ rev 19709

Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 02:23:02 2017 +0300 (2017-05-11)
parents 9e01bc6321ea
children 7387df590f12
rev   line source
pascal@2083 1 # SliTaz package receipt.
pascal@2083 2
pascal@2083 3 PACKAGE="diffutils"
al@19561 4 VERSION="3.5"
pascal@2083 5 CATEGORY="development"
pascal@2083 6 SHORT_DESC="Show differences between two files."
pascal@2083 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL3"
al@19561 9 WEB_SITE="https://www.gnu.org/software/diffutils/"
al@19561 10
devl547@17654 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@2083 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@2083 13
pascal@2083 14 # Rules to configure and make the package.
pascal@2083 15 compile_rules()
pascal@2083 16 {
al@19561 17 ./configure $CONFIGURE_ARGS && make && make install
pascal@2083 18 }
pascal@2083 19
pascal@2083 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2083 21 genpkg_rules()
pascal@2083 22 {
al@19561 23 cook_copy_folders bin
pascal@2083 24 }
pascal@8875 25
pascal@8875 26 # Overlap busybox
pascal@8875 27 post_remove()
pascal@8875 28 {
pascal@18730 29 ln -s /bin/busybox "$1/usr/bin/diff"
pascal@18730 30 ln -s /bin/busybox "$1/usr/bin/cmp"
pascal@8875 31 }