wok-6.x diff ruby-pkgconfig/receipt @ rev 22345
tcc, unfs3: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 20:40:16 2019 +0100 (2019-11-17) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/ruby-pkgconfig/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/ruby-pkgconfig/receipt Sun Nov 17 20:40:16 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 -