wok-6.x view activerecord/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 43d981d0e5b7 |
children | 63fa34c8d2fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="activerecord"
4 VERSION="6.0.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Rich support for multibyte strings."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/activerecord"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 DEPENDS="activesupport ruby"
15 BUILD_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 \
24 --ignore-dependencies \
25 -i "$DESTDIR/$_gemdir" \
26 $SOURCES_REPOSITORY/$TARBALL
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }