wok-current annotate patch/receipt @ rev 161

Add mtPaint desktop entry file
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 28 19:42:11 2008 +0100 (2008-01-28)
parents
children cdac43c3f44f
rev   line source
pankso@26 1 # SliTaz package receipt.
pankso@26 2
pankso@26 3 PACKAGE="patch"
pankso@26 4 VERSION="2.5.4"
pankso@26 5 CATEGORY="base-apps"
pankso@26 6 SHORT_DESC="Utilitie to patch file with diff file."
pankso@26 7 MAINTAINER="pankso@slitaz.org"
pankso@26 8 DEPENDS=""
pankso@26 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@26 10 WEB_SITE="http://www.gnu.org/software/patch/"
pankso@26 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@26 12
pankso@26 13 # Rules to configure and make the package.
pankso@26 14 compile_rules()
pankso@26 15 {
pankso@26 16 cd $src
pankso@26 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@26 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@26 19 make
pankso@26 20 }
pankso@26 21
pankso@26 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@26 23 genpkg_rules()
pankso@26 24 {
pankso@26 25 mkdir -p $fs/usr/bin
pankso@26 26 cp -a $src/patch $fs/usr/bin
pankso@26 27 strip -s $fs/usr/bin/*
pankso@26 28 }
pankso@26 29
pankso@26 30 # Prevent erasing busybox...
pankso@26 31 pre_install()
pankso@26 32 {
pankso@26 33 local root
pankso@26 34 root=$1
pankso@26 35 rm -f $root/usr/bin/patch
pankso@26 36 }