wok view patch/receipt @ rev 15268
libxml2, libxslt: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 11:39:47 2013 +0000 (2013-09-25) |
parents | f45a3556e90c |
children | 7d5c0cb4336a |
line source
1 # SliTaz package receipt.
3 PACKAGE="patch"
4 VERSION="2.7"
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"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="gcc"
16 # Rules to compile & install the temporary toolchain by Tazwok.
17 cook_tmp_toolchain()
18 {
19 cd $src
20 ./configure && make && make install
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $install/usr/bin/patch $fs/usr/bin
36 }
38 # Prevent erasing busybox...
39 pre_install()
40 {
41 local root
42 root=$1
43 rm -f $root/usr/bin/patch
44 }
46 post_remove()
47 {
48 ln -s /bin/busybox /usr/bin/patch
49 }