wok-6.x annotate rails/receipt @ rev 13699
syslinux/iso2exe: only DOS 3, 4 and 6 supported :-/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 15 13:43:51 2012 +0100 (2012-12-15) |
parents | 6f847bf1994d |
children | 8873e661671a |
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" |
slaxemulator@10256 | 8 DEPENDS="ruby actionmailer activeresource activerecord actionpack activesupport" |
slaxemulator@10256 | 9 BUILD_DEPENDS="$DEPENDS ruby-dev" |
slaxemulator@10256 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10256 | 11 WEB_SITE="http://rubygems.org/gems/rails" |
slaxemulator@10256 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10256 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10256 | 14 |
slaxemulator@10256 | 15 # Rules to configure and make the package. |
slaxemulator@10256 | 16 compile_rules() |
slaxemulator@10256 | 17 { |
slaxemulator@10256 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10256 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10256 | 20 } |
slaxemulator@10256 | 21 |
slaxemulator@10256 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10256 | 23 genpkg_rules() |
slaxemulator@10256 | 24 { |
slaxemulator@13076 | 25 cp -a $install/usr $fs |
slaxemulator@10256 | 26 } |