wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="patch"
4 VERSION="2.7.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Utility to patch file with diff file"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://savannah.gnu.org/projects/patch/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="attr-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 copy patch
27 DEPENDS="attr"
28 }
30 ## Prevent erasing busybox...
31 #pre_install()
32 #{
33 # rm -f "$1/usr/bin/patch"
34 #}
35 #
36 #post_remove()
37 #{
38 # ln -s /bin/busybox "$1/usr/bin/patch"
39 #}