wok-next view activerecord/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 2a5cc8208d36
children d958fec46c9f
line source
1 # SliTaz package receipt.
3 PACKAGE="activerecord"
4 VERSION="3.2.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Rich support for multibyte strings"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rubygems.org/gems/activerecord"
11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby activesupport"
15 BUILD_DEPENDS="ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SRC/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }