wok diff ruby-pkgconfig/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 | a64a66d2bb0b |
children | 5262bedbc4c0 |
line diff
1.1 --- a/ruby-pkgconfig/receipt Tue Nov 09 01:23:45 2010 +0000 1.2 +++ b/ruby-pkgconfig/receipt Wed Feb 16 05:33:41 2011 +0100 1.3 @@ -10,18 +10,12 @@ 1.4 SOURCE="pkg-config" 1.5 TARBALL="$SOURCE-$VERSION.gem" 1.6 WEB_SITE="http://github.com/rcairo/pkg-config" 1.7 -WGET="http://gems.rubyforge.org/gems/$TARBALL" 1.8 +WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" 1.9 +COOK_OPT="!repack_src" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.15 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.16 - else 1.17 - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.18 - wget -O $SOURCES_REPOSITORY/$TARBALL "$WGET" 1.19 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.20 - fi 1.21 mkdir -p $src 1.22 cd $src 1.23 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"