wok-next annotate spruz/receipt @ rev 12010

stella: added desc, removed extension from desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Mon Mar 05 16:40:06 2012 -0800 (2012-03-05)
parents
children 3b4e4318134e
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