wok-6.x annotate rails/receipt @ rev 17208
pcmanfm: fix build:add libfm-gtk
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 09 20:42:50 2014 +0200 (2014-10-09) |
parents | a67a3dc11fcb |
children | a78610b2eb47 |
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" |
slaxemulator@10256 | 10 WEB_SITE="http://rubygems.org/gems/rails" |
slaxemulator@10256 | 11 WGET_URL="http://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 } |