# HG changeset patch # User Antoine Bodin # Date 1296084050 -3600 # Node ID 86e8692df3d3827330af15fe87985ee0c8a39b53 # Parent 9e0fcd6eded3f8d1254662b9e90d86c886672154 imported patch toolchain/patch.patch diff -r 9e0fcd6eded3 -r 86e8692df3d3 patch/receipt --- a/patch/receipt Thu Jan 27 00:20:50 2011 +0100 +++ b/patch/receipt Thu Jan 27 00:20:50 2011 +0100 @@ -5,7 +5,8 @@ CATEGORY="utilities" SHORT_DESC="Utilitie to patch file with diff file." MAINTAINER="pankso@slitaz.org" -DEPENDS="" +DEPENDS="glibc-base" +BUILD_DEPENDS="gcc" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/patch/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" @@ -14,17 +15,14 @@ compile_rules() { cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && - make && - make prefix=$PWD/_pkg install + ./configure && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $_pkg/bin/patch $fs/usr/bin + cp -a $_pkg/usr/bin/patch $fs/usr/bin strip -s $fs/usr/bin/* }