wok rev 22166

corrected activerecord
author Hans-G?nter Theisgen
date Fri Nov 08 09:00:02 2019 +0100 (2019-11-08)
parents b01ac0af1067
children 925d91435cce
files activerecord/receipt
line diff
     1.1 --- a/activerecord/receipt	Fri Nov 08 08:53:48 2019 +0100
     1.2 +++ b/activerecord/receipt	Fri Nov 08 09:00:02 2019 +0100
     1.3 @@ -3,26 +3,31 @@
     1.4  PACKAGE="activerecord"
     1.5  VERSION="3.2.6"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="Rich support for multibyte strings"
     1.8 +SHORT_DESC="Rich support for multibyte strings."
     1.9  MAINTAINER="erjo@slitaz.org"
    1.10  LICENSE="MIT"
    1.11 +WEB_SITE="https://rubygems.org/gems/activerecord"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.gem"
    1.14 -WEB_SITE="https://rubygems.org/gems/activerecord"
    1.15  WGET_URL="https://rubygems.org/downloads/$TARBALL"
    1.16 +
    1.17 +DEPENDS="activesupport ruby"
    1.18 +BUILD_DEPENDS="ruby-dev"
    1.19 +
    1.20  COOK_OPT="!repack_src !unpack"
    1.21  
    1.22 -DEPENDS="ruby activesupport"
    1.23 -BUILD_DEPENDS="ruby-dev"
    1.24 -
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
    1.29 -	gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
    1.30 +	local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
    1.31 +	gem	install			\
    1.32 +		--ignore-dependencies	\
    1.33 +		-i "$DESTDIR/$_gemdir"	\
    1.34 +		$SOURCES_REPOSITORY/$TARBALL
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	cp -a $install/usr $fs
    1.41 -}
    1.42 \ No newline at end of file
    1.43 +}