wok-6.x view rails/receipt @ rev 18989
Up: Iron Browser v24.0.1350.0 to v48.2550.0.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Fri Mar 18 03:39:02 2016 -0300 (2016-03-18) |
parents | a67a3dc11fcb |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rails"
4 VERSION="3.2.6"
5 CATEGORY="development"
6 SHORT_DESC="REST on Rails."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rubygems.org/gems/rails"
11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby actionmailer activeresource activerecord actionpack activesupport"
15 BUILD_DEPENDS="$DEPENDS ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }