wok-next view patch/receipt @ rev 17877
ncurses-common: restore file names, fixes alsamixer+vte F-keys, cairo:
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Mar 28 14:23:43 2015 +0100 (2015-03-28) |
parents | 083f88526785 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="patch"
4 VERSION="2.7.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Utilitie to patch file with diff file."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/patch/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure $CONFIGURE_ARGS &&
18 make && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $install/usr/bin/patch $fs/usr/bin
26 }
28 # Prevent erasing busybox...
29 pre_install()
30 {
31 local root
32 root=$1
33 rm -f $root/usr/bin/patch
34 }
36 post_remove()
37 {
38 ln -s /bin/busybox /usr/bin/patch
39 }