wok-current annotate rack/receipt @ rev 15471
memtest/bootloader.S: fix dos exit (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 14:28:26 2013 +0000 (2013-11-08) |
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 } |