wok-current annotate spruz/receipt @ rev 23333

updated perl-file-which (1.22 -> 1.23)
author Hans-G?nter Theisgen
date Tue Mar 31 07:07:01 2020 +0100 (2020-03-31)
parents a78610b2eb47
children 3c1752d57bae
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"
pascal@20669 10 WEB_SITE="https://rubygems.org/gems/spruz"
pascal@20669 11 WGET_URL="https://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 {
pascal@22170 20 local _gemdir="$(ruby -rrubygems -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