# HG changeset patch # User Antoine Bodin # Date 1298589765 -3600 # Node ID 5262bedbc4c067d61e62092d30b316ecc090c3dc # Parent 06b84f477e022637eb699bc6abb2665caacebb8b Fix ruby-pkgconfig compile_rules() diff -r 06b84f477e02 -r 5262bedbc4c0 ruby-pkgconfig/receipt --- a/ruby-pkgconfig/receipt Fri Feb 25 00:21:51 2011 +0100 +++ b/ruby-pkgconfig/receipt Fri Feb 25 00:22:45 2011 +0100 @@ -6,20 +6,17 @@ SHORT_DESC="A pkg-config implementation in Ruby." MAINTAINER="slaxemulator@gmail.com" DEPENDS="ruby" -BUILD_DEPENDS="ruby" SOURCE="pkg-config" TARBALL="$SOURCE-$VERSION.gem" WEB_SITE="http://github.com/rcairo/pkg-config" WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" -COOK_OPT="!repack_src" +COOK_OPT="!repack_src !unpack" # Rules to configure and make the package. compile_rules() { - mkdir -p $src - cd $src local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --ignore-dependencies -i "$PWD/_pkg/$_gemdir" $SOURCES_REPOSITORY/$TARBALL + gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL } # Rules to gen a SliTaz package suitable for Tazpkg.