wok-next annotate spruz/receipt @ rev 15593

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 03 18:28:51 2013 +0000 (2013-12-03)
parents 25dece58861f
children d43bf7aae921
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"
pascal@15593 8 LICENSE="MIT"
slaxemulator@10140 9 TARBALL="$PACKAGE-$VERSION.gem"
slaxemulator@10140 10 WEB_SITE="http://rubygems.org/gems/spruz"
slaxemulator@10140 11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
slaxemulator@10140 12 COOK_OPT="!repack_src !unpack"
slaxemulator@10140 13
pascal@15593 14 DEPENDS="ruby"
pascal@15593 15 BUILD_DEPENDS="ruby-dev"
pascal@15593 16
slaxemulator@10140 17 # Rules to configure and make the package.
slaxemulator@10140 18 compile_rules()
slaxemulator@10140 19 {
slaxemulator@10140 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
slaxemulator@10140 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10140 22 }
slaxemulator@10140 23
slaxemulator@10140 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10140 25 genpkg_rules()
slaxemulator@10140 26 {
pascal@15593 27 cp -a $install/usr $fs
slaxemulator@10140 28 }
slaxemulator@10140 29