wok-6.x annotate activeresource/receipt @ rev 21533
backported Bobylev's receipt for consolekit2 from next to cooking
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 05 11:02:08 2019 +0100 (2019-05-05) |
parents | 2a5cc8208d36 |
children | 925d91435cce |
rev | line source |
---|---|
slaxemulator@10144 | 1 # SliTaz package receipt. |
slaxemulator@10144 | 2 |
slaxemulator@10144 | 3 PACKAGE="activeresource" |
slaxemulator@13074 | 4 VERSION="3.2.6" |
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" |
slaxemulator@10144 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
pascal@20668 | 10 WEB_SITE="https://rubygems.org/gems/activeresource" |
pascal@20668 | 11 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
slaxemulator@10144 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10144 | 13 |
pascal@15379 | 14 DEPENDS="ruby activesupport" |
pascal@15379 | 15 BUILD_DEPENDS="ruby-dev" |
pascal@15379 | 16 |
slaxemulator@10144 | 17 # Rules to configure and make the package. |
slaxemulator@10144 | 18 compile_rules() |
slaxemulator@10144 | 19 { |
slaxemulator@10144 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10144 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10144 | 22 } |
slaxemulator@10144 | 23 |
slaxemulator@10144 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10144 | 25 genpkg_rules() |
slaxemulator@10144 | 26 { |
slaxemulator@13074 | 27 cp -a $install/usr $fs |
slaxemulator@10144 | 28 } |