wok annotate rails/receipt @ rev 24002

Up tazinst (109)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 16 11:02:29 2021 +0000 (2021-01-16)
parents a0dccc5d133d
children 2f230197370e
rev   line source
slaxemulator@10256 1 # SliTaz package receipt.
slaxemulator@10256 2
slaxemulator@10256 3 PACKAGE="rails"
Hans-G?nter@23604 4 VERSION="6.0.2.2"
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"
Hans-G?nter@23604 9 WEB_SITE="https://rubygems.org/gems/rails"
Hans-G?nter@23604 10
slaxemulator@10256 11 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20669 12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
Hans-G?nter@23604 13
Hans-G?nter@23604 14 DEPENDS="actionmailer actionpack activerecord activeresource activesupport ruby"
Hans-G?nter@23604 15 BUILD_DEPENDS="$DEPENDS ruby-dev"
Hans-G?nter@23604 16
slaxemulator@10256 17 COOK_OPT="!repack_src !unpack"
slaxemulator@10256 18
slaxemulator@10256 19 # Rules to configure and make the package.
slaxemulator@10256 20 compile_rules()
slaxemulator@10256 21 {
pascal@22170 22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
slaxemulator@10256 23 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10256 24 }
slaxemulator@10256 25
slaxemulator@10256 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10256 27 genpkg_rules()
slaxemulator@10256 28 {
Hans-G?nter@23604 29 cp -a $install/usr $fs
slaxemulator@10256 30 }