wok annotate spruz/receipt @ rev 24125

transfig, xfig: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 14:55:24 2021 +0000 (2021-10-06)
parents a0dccc5d133d
children 934055de50e2
rev   line source
slaxemulator@10140 1 # SliTaz package receipt.
slaxemulator@10140 2
slaxemulator@10140 3 PACKAGE="spruz"
Hans-G?nter@23662 4 VERSION="0.2.13"
slaxemulator@10140 5 CATEGORY="development"
Hans-G?nter@23662 6 SHORT_DESC="All the stuff that isn't good or big enough for a real library."
slaxemulator@10140 7 MAINTAINER="erjo@slitaz.org"
pascal@15593 8 LICENSE="MIT"
Hans-G?nter@23662 9 WEB_SITE="https://rubygems.org/gems/spruz"
Hans-G?nter@23662 10
slaxemulator@10140 11 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20669 12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
slaxemulator@10140 13
pascal@15593 14 DEPENDS="ruby"
pascal@15593 15 BUILD_DEPENDS="ruby-dev"
pascal@15593 16
Hans-G?nter@23662 17 COOK_OPT="!repack_src !unpack"
Hans-G?nter@23662 18
slaxemulator@10140 19 # Rules to configure and make the package.
slaxemulator@10140 20 compile_rules()
slaxemulator@10140 21 {
Hans-G?nter@23662 22 local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')"
Hans-G?nter@23662 23 gem install \
Hans-G?nter@23662 24 --ignore-dependencies \
Hans-G?nter@23662 25 -i "$DESTDIR/$_gemdir" \
Hans-G?nter@23662 26 $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10140 27 }
slaxemulator@10140 28
slaxemulator@10140 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10140 30 genpkg_rules()
slaxemulator@10140 31 {
Hans-G?nter@23662 32 cp -a $install/usr $fs
slaxemulator@10140 33 }