wok annotate rack/receipt @ rev 18802
syslinux/iso2exe.sh: fix clear_custom_config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 12 15:40:40 2016 +0100 (2016-01-12) |
parents | ad320686d9cd |
children | 20661c276bcf |
rev | line source |
---|---|
slaxemulator@10254 | 1 # SliTaz package receipt. |
slaxemulator@10254 | 2 |
slaxemulator@10254 | 3 PACKAGE="rack" |
pascal@15639 | 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" |
pascal@15626 | 8 LICENSE="MIT" |
pascal@15641 | 9 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10254 | 10 WEB_SITE="http://rack.rubyforge.org/" |
pascal@15641 | 11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
slaxemulator@10254 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@10254 | 13 |
pascal@15609 | 14 DEPENDS="ruby activerecord" |
pascal@15609 | 15 BUILD_DEPENDS="$DEPENDS ruby-dev" |
pascal@15609 | 16 |
slaxemulator@10254 | 17 # Rules to configure and make the package. |
slaxemulator@10254 | 18 compile_rules() |
slaxemulator@10254 | 19 { |
slaxemulator@10254 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10254 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10254 | 22 } |
slaxemulator@10254 | 23 |
slaxemulator@10254 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10254 | 25 genpkg_rules() |
slaxemulator@10254 | 26 { |
pascal@15603 | 27 cp -a $install/usr $fs |
slaxemulator@10254 | 28 } |