wok-next diff patch/receipt @ rev 8658
Automated merge with https://bitbucket.org/gokhlayeh/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 16 05:33:41 2011 +0100 (2011-02-16) |
parents | fa124f2ab0f1 |
children | 02bbaa9d12ba |
line diff
1.1 --- a/patch/receipt Thu May 06 03:09:25 2010 +0000 1.2 +++ b/patch/receipt Wed Feb 16 05:33:41 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