wok-6.x diff ruby-pkgconfig/receipt @ rev 9212
nvidia: allow post_install without tty
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 09:31:56 2011 +0100 (2011-03-11) |
parents | 03a5c535ba51 |
children | 9911fd0d3a4d |
line diff
1.1 --- a/ruby-pkgconfig/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/ruby-pkgconfig/receipt Fri Mar 11 09:31:56 2011 +0100 1.3 @@ -6,20 +6,17 @@ 1.4 SHORT_DESC="A pkg-config implementation in Ruby." 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 DEPENDS="ruby" 1.7 -BUILD_DEPENDS="ruby" 1.8 SOURCE="pkg-config" 1.9 TARBALL="$SOURCE-$VERSION.gem" 1.10 WEB_SITE="http://github.com/rcairo/pkg-config" 1.11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" 1.12 -COOK_OPT="!repack_src" 1.13 +COOK_OPT="!repack_src !unpack" 1.14 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 - mkdir -p $src 1.19 - cd $src 1.20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" 1.21 - gem install --ignore-dependencies -i "$PWD/_pkg/$_gemdir" $SOURCES_REPOSITORY/$TARBALL 1.22 + gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg.