wok-next diff patch/receipt @ rev 20011

cairo-dock: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:36:22 2017 +0200 (2017-10-21)
parents 96871f3890f0
children 90a5eb560fd6
line diff
     1.1 --- a/patch/receipt	Wed Dec 21 23:21:13 2016 +0200
     1.2 +++ b/patch/receipt	Sat Oct 21 18:36:22 2017 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="patch"
     1.8  VERSION="2.7.5"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Utilitie to patch file with diff file."
    1.11 +SHORT_DESC="Utility to patch file with diff file"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="http://savannah.gnu.org/projects/patch/"
    1.15 @@ -12,7 +12,6 @@
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="attr"
    1.20  BUILD_DEPENDS="attr-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23 @@ -24,17 +23,17 @@
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p $fs/usr/bin
    1.28 -	cp -a $install/usr/bin/patch $fs/usr/bin
    1.29 +	copy patch
    1.30 +	DEPENDS="attr"
    1.31  }
    1.32  
    1.33 -# Prevent erasing busybox...
    1.34 -pre_install()
    1.35 -{
    1.36 -	rm -f "$1/usr/bin/patch"
    1.37 -}
    1.38 -
    1.39 -post_remove()
    1.40 -{
    1.41 -	ln -s /bin/busybox "$1/usr/bin/patch"
    1.42 -}
    1.43 +## Prevent erasing busybox...
    1.44 +#pre_install()
    1.45 +#{
    1.46 +#	rm -f "$1/usr/bin/patch"
    1.47 +#}
    1.48 +#
    1.49 +#post_remove()
    1.50 +#{
    1.51 +#	ln -s /bin/busybox "$1/usr/bin/patch"
    1.52 +#}