wok-current annotate rails/receipt @ rev 20911
updated fasm (1.73.04 -> 1.73.09)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 14:37:48 2019 +0100 (2019-02-28) |
parents | 8873e661671a |
children | a0dccc5d133d |
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 { |
slaxemulator@10256 | 20 local _gemdir="$(ruby -rubygems -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 } |