wok-6.x annotate rack/receipt @ rev 21780
cookutils: take care of stuff update dates
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 14 10:28:47 2019 +0200 (2019-07-14) |
parents | b7820f6fbe67 |
children | a0dccc5d133d |
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 { |
slaxemulator@10254 | 20 local _gemdir="$(ruby -rubygems -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 } |