wok annotate diffutils/receipt @ rev 18281

mate-control-center: update deps and force glib compile schemas
author Yuri Pourre <yuripourre@gmail.com>
date Mon Aug 10 09:59:01 2015 -0300 (2015-08-10)
parents eb8067417980
children 9e01bc6321ea
rev   line source
pascal@2083 1 # SliTaz package receipt.
pascal@2083 2
pascal@2083 3 PACKAGE="diffutils"
devl547@17654 4 VERSION="3.3"
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"
devl547@17654 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@2083 10 WEB_SITE="http://www.gnu.org/software/diffutils/"
pascal@2083 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@2083 12
pascal@2083 13 # Rules to configure and make the package.
pascal@2083 14 compile_rules()
pascal@2083 15 {
pascal@2083 16 cd $src
devl547@17654 17 sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
pascal@2083 18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2083 19 make &&
slaxemulator@11098 20 make DESTDIR=$DESTDIR install
pascal@2083 21 }
pascal@2083 22
pascal@2083 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2083 24 genpkg_rules()
pascal@2083 25 {
pascal@2083 26 mkdir -p $fs/usr
pascal@15579 27 cp -a $install/usr/bin $fs/usr
pascal@2083 28 }
pascal@8875 29
pascal@8875 30 # Overlap busybox
pascal@8875 31 pre_install()
pascal@8875 32 {
pascal@8875 33 rm -f $1/usr/bin/diff
pascal@8875 34 rm -f $1/usr/bin/cmp
pascal@8875 35 }
pascal@8875 36
pascal@8875 37 post_remove()
pascal@8875 38 {
slaxemulator@11098 39 ln -s /bin/busybox $1/usr/bin/diff
slaxemulator@11098 40 ln -s /bin/busybox $1/usr/bin/cmp
pascal@8875 41 }