wok-next view spruz/receipt @ rev 20765
Up cookutils (1066); add xmahjongg
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 00:54:44 2018 +0300 (2018-06-06) |
parents | 3b4e4318134e |
children | cd7906120828 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spruz"
4 VERSION="0.2.6"
5 CATEGORY="development"
6 SHORT_DESC="All the stuff that isn't good/big enough for a real library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rubygems.org/gems/spruz"
11 WGET_URL="http://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 -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 }