wok-stable annotate spruz/receipt @ rev 12072

fix tuxmath bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 05:03:33 2012 +0100 (2012-03-09)
parents
children
rev   line source
slaxemulator@10140 1 # SliTaz package receipt.
slaxemulator@10140 2
slaxemulator@10140 3 PACKAGE="spruz"
slaxemulator@10140 4 VERSION="0.2.6"
slaxemulator@10140 5 CATEGORY="development"
slaxemulator@10140 6 SHORT_DESC="All the stuff that isn't good/big enough for a real library."
slaxemulator@10140 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@10140 8 DEPENDS="ruby"
slaxemulator@10140 9 BUILD_DEPENDS="ruby-dev"
slaxemulator@10140 10 TARBALL="$PACKAGE-$VERSION.gem"
slaxemulator@10140 11 WEB_SITE="http://rubygems.org/gems/spruz"
slaxemulator@10140 12 WGET_URL="http://rubygems.org/downloads/$TARBALL"
slaxemulator@10140 13 COOK_OPT="!repack_src !unpack"
slaxemulator@10140 14
slaxemulator@10140 15 # Rules to configure and make the package.
slaxemulator@10140 16 compile_rules()
slaxemulator@10140 17 {
slaxemulator@10140 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
slaxemulator@10140 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10140 20 }
slaxemulator@10140 21
slaxemulator@10140 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10140 23 genpkg_rules()
slaxemulator@10140 24 {
slaxemulator@10140 25 cp -a $_pkg/usr $fs
slaxemulator@10140 26 }
slaxemulator@10140 27