wok annotate rack/receipt @ rev 11474
python-flup: reverting my changes, it was not good (thanks godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 17:52:22 2011 +0100 (2011-12-17) |
parents | 0e195fd8f8d1 |
children | 051931e905b0 |
rev | line source |
---|---|
slaxemulator@10254 | 1 # SliTaz package receipt. |
slaxemulator@10254 | 2 |
slaxemulator@10254 | 3 PACKAGE="rack" |
slaxemulator@11181 | 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" |
slaxemulator@10254 | 8 DEPENDS="ruby activerecord" |
slaxemulator@10254 | 9 BUILD_DEPENDS="$DEPENDS ruby-dev" |
slaxemulator@10254 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10254 | 11 WEB_SITE="http://rack.rubyforge.org/" |
slaxemulator@11181 | 12 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
slaxemulator@10254 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10254 | 14 |
slaxemulator@10254 | 15 # Rules to configure and make the package. |
slaxemulator@10254 | 16 compile_rules() |
slaxemulator@10254 | 17 { |
slaxemulator@10254 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10254 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10254 | 20 } |
slaxemulator@10254 | 21 |
slaxemulator@10254 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10254 | 23 genpkg_rules() |
slaxemulator@10254 | 24 { |
slaxemulator@10254 | 25 cp -a $_pkg/usr $fs |
slaxemulator@10254 | 26 } |