wok-current annotate rails/receipt @ rev 10898
busybox/httpd: add directory index
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 15 11:34:28 2011 +0200 (2011-07-15) |
parents | |
children | a67a3dc11fcb |
rev | line source |
---|---|
slaxemulator@10256 | 1 # SliTaz package receipt. |
slaxemulator@10256 | 2 |
slaxemulator@10256 | 3 PACKAGE="rails" |
slaxemulator@10256 | 4 VERSION="3.0.7" |
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@10256 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10256 | 26 } |