wok-6.x view rails/receipt @ rev 23895

Fix grub4dos (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 19:27:42 2020 +0000 (2020-07-25)
parents a0dccc5d133d
children 2f230197370e
line source
1 # SliTaz package receipt.
3 PACKAGE="rails"
4 VERSION="6.0.2.2"
5 CATEGORY="development"
6 SHORT_DESC="REST on Rails."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/rails"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 DEPENDS="actionmailer actionpack activerecord activeresource activesupport ruby"
15 BUILD_DEPENDS="$DEPENDS ruby-dev"
17 COOK_OPT="!repack_src !unpack"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
23 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }