wok-next view activesupport/receipt @ rev 20883

Check Repology info from h* to l* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 11 02:06:34 2018 +0300 (2018-07-11)
parents d43bf7aae921
children a3c581bf52b8
line source
1 # SliTaz package receipt.
3 PACKAGE="activesupport"
4 VERSION="3.2.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Database tables mapping to Ruby classes"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://rubygems.org/gems/activesupport"
10 REPOLOGY="ruby:activesupport"
12 TARBALL="$PACKAGE-$VERSION.gem"
13 WGET_URL="http://rubygems.org/downloads/$TARBALL"
14 COOK_OPT="!repack_src !unpack"
16 DEPENDS="ruby"
17 BUILD_DEPENDS="ruby-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
23 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }