wok annotate rack/receipt @ rev 24084
libjson-c-dev: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:06:31 2021 +0000 (2021-07-10) |
parents | 20661c276bcf |
children | 2f230197370e |
rev | line source |
---|---|
slaxemulator@10254 | 1 # SliTaz package receipt. |
slaxemulator@10254 | 2 |
slaxemulator@10254 | 3 PACKAGE="rack" |
pascal@15639 | 4 VERSION="1.3.5" |
slaxemulator@10676 | 5 CATEGORY="network" |
slaxemulator@10254 | 6 SHORT_DESC="Webserver Interface for Ruby" |
slaxemulator@10254 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15626 | 8 LICENSE="MIT" |
pascal@15641 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20682 | 10 WEB_SITE="https://rubygems.org/gems/$PACKAGE" |
pascal@15641 | 11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
slaxemulator@10254 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10254 | 13 |
pascal@15609 | 14 DEPENDS="ruby activerecord" |
pascal@15609 | 15 BUILD_DEPENDS="$DEPENDS ruby-dev" |
pascal@15609 | 16 |
slaxemulator@10254 | 17 # Rules to configure and make the package. |
slaxemulator@10254 | 18 compile_rules() |
slaxemulator@10254 | 19 { |
pascal@22170 | 20 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')" |
slaxemulator@10254 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10254 | 22 } |
slaxemulator@10254 | 23 |
slaxemulator@10254 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10254 | 25 genpkg_rules() |
slaxemulator@10254 | 26 { |
pascal@15603 | 27 cp -a $install/usr $fs |
slaxemulator@10254 | 28 } |