wok-6.x view spruz/receipt @ rev 23922
Add alieninvasion, spaceinvader, racer10k and javascript-racer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 22 17:01:17 2020 +0000 (2020-08-22) |
parents | a0dccc5d133d |
children | 934055de50e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spruz"
4 VERSION="0.2.13"
5 CATEGORY="development"
6 SHORT_DESC="All the stuff that isn't good or big enough for a real library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/spruz"
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 -r rubygems -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 }