wok-current rev 8569
imported patch get/ruby-pkgconfig
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | c4c54646489a |
children | 12eaed8b0078 |
files | ruby-pkgconfig/receipt |
line diff
1.1 --- a/ruby-pkgconfig/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/ruby-pkgconfig/receipt Sun Feb 13 22:57:56 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')"