wok-current view rails/receipt @ rev 24354

created recipe for py3k-dbus-1.2.18
author Hans-G?nter Theisgen
date Thu Feb 03 15:11:19 2022 +0100 (2022-02-03)
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 }