wok rev 21856

updated ruby-pkgconfig (1.0.7 -> 1.3.8)
author Hans-G?nter Theisgen
date Tue Sep 17 16:12:29 2019 +0100 (2019-09-17)
parents ebc99b3ea1aa
children 76553471f1b5
files ruby-pkgconfig/receipt
line diff
     1.1 --- a/ruby-pkgconfig/receipt	Tue Sep 17 15:34:39 2019 +0100
     1.2 +++ b/ruby-pkgconfig/receipt	Tue Sep 17 16:12:29 2019 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ruby-pkgconfig"
     1.7 -VERSION="1.0.7"
     1.8 +VERSION="1.3.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A pkg-config implementation in Ruby."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="LGPL2.1"
    1.13 -SOURCE="pkg-config"
    1.14 -TARBALL="$SOURCE-$VERSION.gem"
    1.15 -WEB_SITE="https://github.com/rcairo/pkg-config"
    1.16 -WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
    1.17 +WEB_SITE="https://github.com/ruby-gnome/pkg-config"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"
    1.21 +
    1.22  COOK_OPT="!repack_src !unpack"
    1.23 -
    1.24  DEPENDS="ruby"
    1.25 -BUILD_DEPENDS="ruby-dev"
    1.26 +BUILD_DEPENDS="ruby-dev rubygems"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
    1.32 -	gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
    1.33 +	local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')"
    1.34 +	gem install			\
    1.35 +		--ignore-dependencies	\
    1.36 +		-i "$DESTDIR/$_gemdir"	\
    1.37 +		pkg-config
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 @@ -27,4 +30,3 @@
    1.42  {
    1.43  	cp -a $install/usr $fs
    1.44  }
    1.45 -