# HG changeset patch # User Hans-G?nter Theisgen # Date 1568733149 -3600 # Node ID 9155c3f322db88017cdb3c23583653575d7d028a # Parent ebc99b3ea1aa779f708773eb6cf2a138df320950 updated ruby-pkgconfig (1.0.7 -> 1.3.8) diff -r ebc99b3ea1aa -r 9155c3f322db ruby-pkgconfig/receipt --- a/ruby-pkgconfig/receipt Tue Sep 17 15:34:39 2019 +0100 +++ b/ruby-pkgconfig/receipt Tue Sep 17 16:12:29 2019 +0100 @@ -1,25 +1,28 @@ # SliTaz package receipt. PACKAGE="ruby-pkgconfig" -VERSION="1.0.7" +VERSION="1.3.8" CATEGORY="development" SHORT_DESC="A pkg-config implementation in Ruby." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" -SOURCE="pkg-config" -TARBALL="$SOURCE-$VERSION.gem" -WEB_SITE="https://github.com/rcairo/pkg-config" -WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" +WEB_SITE="https://github.com/ruby-gnome/pkg-config" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz" + COOK_OPT="!repack_src !unpack" - DEPENDS="ruby" -BUILD_DEPENDS="ruby-dev" +BUILD_DEPENDS="ruby-dev rubygems" # Rules to configure and make the package. compile_rules() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL + local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')" + gem install \ + --ignore-dependencies \ + -i "$DESTDIR/$_gemdir" \ + pkg-config } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -27,4 +30,3 @@ { cp -a $install/usr $fs } -