wok annotate activeresource/receipt @ rev 25276

updated reiser4progs and reiser4progs-dev (2.0.0 -> 2.0.5)
author Hans-G?nter Theisgen
date Mon Jul 18 14:19:27 2022 +0100 (2022-07-18)
parents 63fa34c8d2fa
children
rev   line source
slaxemulator@10144 1 # SliTaz package receipt.
slaxemulator@10144 2
slaxemulator@10144 3 PACKAGE="activeresource"
Hans-G?nter@24106 4 VERSION="5.1.1"
slaxemulator@10144 5 CATEGORY="development"
slaxemulator@10144 6 SHORT_DESC="REST on Rails."
slaxemulator@10144 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="MIT"
Hans-G?nter@22167 9 WEB_SITE="https://rubygems.org/gems/activeresource"
Hans-G?nter@22167 10
slaxemulator@10144 11 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20668 12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
Hans-G?nter@22167 13
Hans-G?nter@22167 14 DEPENDS="activesupport ruby"
Hans-G?nter@22167 15 BUILD_DEPENDS="ruby-dev"
Hans-G?nter@22167 16
slaxemulator@10144 17 COOK_OPT="!repack_src !unpack"
slaxemulator@10144 18
pascal@24353 19 # What is the latest version available today?
pascal@24353 20 current_version()
pascal@24353 21 {
pascal@24353 22 wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
pascal@24353 23 }
pascal@24353 24
slaxemulator@10144 25 # Rules to configure and make the package.
slaxemulator@10144 26 compile_rules()
slaxemulator@10144 27 {
Hans-G?nter@22167 28 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
Hans-G?nter@22167 29 gem install \
Hans-G?nter@22167 30 --ignore-dependencies \
Hans-G?nter@22167 31 -i "$DESTDIR/$_gemdir" \
Hans-G?nter@22167 32 $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10144 33 }
slaxemulator@10144 34
slaxemulator@10144 35 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10144 36 genpkg_rules()
slaxemulator@10144 37 {
slaxemulator@13074 38 cp -a $install/usr $fs
Hans-G?nter@22167 39 }