wok-next view ruby-rails/receipt @ rev 20910
Update Ruby and Ruby gems
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 18 16:19:00 2018 +0300 (2018-08-18) |
parents | |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-rails"
4 VERSION="5.2.1"
5 CATEGORY="development"
6 SHORT_DESC="Full-stack web application framework"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="any"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem
26 }
28 genpkg_rules() {
29 copy @ruby
30 DEPENDS="ruby ruby-actioncable ruby-actionmailer ruby-actionpack \
31 ruby-actionview ruby-activejob ruby-activemodel ruby-activerecord \
32 ruby-activestorage ruby-activesupport ruby-bundler ruby-railties \
33 ruby-sprockets-rails"
34 }