wok-6.x view rake/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents a0dccc5d133d
children 2f230197370e
line source
1 # SliTaz package receipt.
3 PACKAGE="rake"
4 VERSION="13.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Make-like program implemented in Ruby."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 DEPENDS="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 --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 }