wok-next annotate patch/receipt @ rev 20342
gkII: tiny png patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 17 15:57:17 2017 +0100 (2017-11-17) |
parents | 96871f3890f0 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="patch" |
al@19568 | 4 VERSION="2.7.5" |
pankso@211 | 5 CATEGORY="utilities" |
al@19743 | 6 SHORT_DESC="Utility to patch file with diff file" |
pankso@26 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19568 | 9 WEB_SITE="http://savannah.gnu.org/projects/patch/" |
al@19568 | 10 HOST_ARCH="i486 arm" |
al@19568 | 11 |
samuel_trassare@13486 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@26 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19568 | 14 |
al@19568 | 15 BUILD_DEPENDS="attr-dev" |
pankso@26 | 16 |
pankso@26 | 17 # Rules to configure and make the package. |
pankso@26 | 18 compile_rules() |
pankso@26 | 19 { |
al@19568 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pankso@26 | 21 } |
pankso@26 | 22 |
pankso@26 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 24 genpkg_rules() |
pankso@26 | 25 { |
al@19743 | 26 copy patch |
al@19743 | 27 DEPENDS="attr" |
pankso@26 | 28 } |
pankso@26 | 29 |
al@19743 | 30 ## Prevent erasing busybox... |
al@19743 | 31 #pre_install() |
al@19743 | 32 #{ |
al@19743 | 33 # rm -f "$1/usr/bin/patch" |
al@19743 | 34 #} |
al@19743 | 35 # |
al@19743 | 36 #post_remove() |
al@19743 | 37 #{ |
al@19743 | 38 # ln -s /bin/busybox "$1/usr/bin/patch" |
al@19743 | 39 #} |