wok annotate rack/receipt @ rev 10676
rack: Fixed category.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 27 05:07:09 2011 +0000 (2011-05-27) |
parents | a3fba71a4b3d |
children | 6e5bc54eeaeb |
rev | line source |
---|---|
slaxemulator@10254 | 1 # SliTaz package receipt. |
slaxemulator@10254 | 2 |
slaxemulator@10254 | 3 PACKAGE="rack" |
slaxemulator@10254 | 4 VERSION="1.2.2" |
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@10254 | 12 WGET_URL="http://chneukirchen.org/releases/gems/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 } |