wok rev 8207

imported patch toolchain/patch.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 9e0fcd6eded3
children ead12adce9b4
files patch/receipt
line diff
     1.1 --- a/patch/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/patch/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -5,7 +5,8 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Utilitie to patch file with diff file."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS=""
     1.8 +DEPENDS="glibc-base"
     1.9 +BUILD_DEPENDS="gcc"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.gnu.org/software/patch/"
    1.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.13 @@ -14,17 +15,14 @@
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.18 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.19 -	make &&
    1.20 -	make prefix=$PWD/_pkg install
    1.21 +	./configure && make && make install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/bin
    1.28 -	cp -a $_pkg/bin/patch $fs/usr/bin
    1.29 +	cp -a $_pkg/usr/bin/patch $fs/usr/bin
    1.30  	strip -s $fs/usr/bin/*
    1.31  }
    1.32