wok view rake/receipt @ rev 22876

web-applications: localize wikipedia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 21 18:28:59 2020 +0100 (2020-02-21)
parents 20661c276bcf
children 939d99e3fc7e
line source
1 # SliTaz package receipt.
3 PACKAGE="rake"
4 VERSION="0.8.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Make-like program implemented in Ruby."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="https://rubygems.org/gems/$PACKAGE"
11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }