wok-current annotate activeresource/receipt @ rev 16845

netsurf: try default make rules
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 23:41:25 2014 +0300 (2014-07-12)
parents f97c38c37a15
children bdd5dd52ad52
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"
slaxemulator@10144 10 WEB_SITE="http://rubygems.org/gems/activeresource"
slaxemulator@10144 11 WGET_URL="http://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 }