wok-6.x annotate rails/receipt @ rev 22170

linld: clear heap in moverm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 10:47:52 2019 +0100 (2019-11-08)
parents a78610b2eb47
children 30cc9f65eaa5
rev   line source
slaxemulator@10256 1 # SliTaz package receipt.
slaxemulator@10256 2
slaxemulator@10256 3 PACKAGE="rails"
slaxemulator@13076 4 VERSION="3.2.6"
slaxemulator@10256 5 CATEGORY="development"
slaxemulator@10256 6 SHORT_DESC="REST on Rails."
slaxemulator@10256 7 MAINTAINER="erjo@slitaz.org"
pascal@15610 8 LICENSE="MIT"
slaxemulator@10256 9 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20669 10 WEB_SITE="https://rubygems.org/gems/rails"
pascal@20669 11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
slaxemulator@10256 12 COOK_OPT="!repack_src !unpack"
slaxemulator@10256 13
pascal@15610 14 DEPENDS="ruby actionmailer activeresource activerecord actionpack activesupport"
pascal@15610 15 BUILD_DEPENDS="$DEPENDS ruby-dev"
pascal@15610 16
slaxemulator@10256 17 # Rules to configure and make the package.
slaxemulator@10256 18 compile_rules()
slaxemulator@10256 19 {
pascal@22170 20 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
slaxemulator@10256 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10256 22 }
slaxemulator@10256 23
slaxemulator@10256 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10256 25 genpkg_rules()
slaxemulator@10256 26 {
slaxemulator@13076 27 cp -a $install/usr $fs
slaxemulator@10256 28 }