wok-6.x rev 22167
corrected activeresource
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 08 09:03:27 2019 +0100 (2019-11-08) |
parents | 43d981d0e5b7 |
children | ce1a118be92e |
files | activeresource/receipt |
line diff
1.1 --- a/activeresource/receipt Fri Nov 08 09:00:02 2019 +0100 1.2 +++ b/activeresource/receipt Fri Nov 08 09:03:27 2019 +0100 1.3 @@ -6,23 +6,28 @@ 1.4 SHORT_DESC="REST on Rails." 1.5 MAINTAINER="erjo@slitaz.org" 1.6 LICENSE="MIT" 1.7 +WEB_SITE="https://rubygems.org/gems/activeresource" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.gem" 1.10 -WEB_SITE="https://rubygems.org/gems/activeresource" 1.11 WGET_URL="https://rubygems.org/downloads/$TARBALL" 1.12 + 1.13 +DEPENDS="activesupport ruby" 1.14 +BUILD_DEPENDS="ruby-dev" 1.15 + 1.16 COOK_OPT="!repack_src !unpack" 1.17 1.18 -DEPENDS="ruby activesupport" 1.19 -BUILD_DEPENDS="ruby-dev" 1.20 - 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" 1.25 - gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL 1.26 + local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" 1.27 + gem install \ 1.28 + --ignore-dependencies \ 1.29 + -i "$DESTDIR/$_gemdir" \ 1.30 + $SOURCES_REPOSITORY/$TARBALL 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 cp -a $install/usr $fs 1.37 -} 1.38 \ No newline at end of file 1.39 +}