wok-next view rails/receipt @ rev 20909
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 13 00:47:17 2018 +0300 (2018-08-13) |
parents | d43bf7aae921 |
children |
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="https://rubygems.org/gems/rails"
11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
13 REPOLOGY="ruby:rails"
15 DEPENDS="ruby actionmailer activeresource activerecord actionpack activesupport"
16 BUILD_DEPENDS="$DEPENDS ruby-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }