wok-next view patch/receipt @ rev 19682
Up at-spi2-atk, at-spi2-core, atk, atkmm, glibmm, gobject-introspection, libgiomm, libsigc++
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 10 00:21:34 2017 +0300 (2017-04-10) |
parents | 9e01bc6321ea |
children | 7387df590f12 |
line source
1 # SliTaz package receipt.
3 PACKAGE="patch"
4 VERSION="2.7.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Utilitie 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 DEPENDS="attr"
16 BUILD_DEPENDS="attr-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $install/usr/bin/patch $fs/usr/bin
29 }
31 # Prevent erasing busybox...
32 pre_install()
33 {
34 rm -f "$1/usr/bin/patch"
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox "$1/usr/bin/patch"
40 }