wok-next annotate actionpack/receipt @ rev 13225
fail2ban: add fail2ban filter
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 19:15:01 2012 +0200 (2012-08-13) |
parents | 90e86853f99d |
children | 2a5cc8208d36 |
rev | line source |
---|---|
slaxemulator@10146 | 1 # SliTaz package receipt. |
slaxemulator@10146 | 2 |
slaxemulator@10146 | 3 PACKAGE="actionpack" |
slaxemulator@13072 | 4 VERSION="3.2.6" |
slaxemulator@10146 | 5 CATEGORY="system-tools" |
slaxemulator@10146 | 6 SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications." |
slaxemulator@10146 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@10146 | 8 DEPENDS="ruby activesupport" |
slaxemulator@10146 | 9 BUILD_DEPENDS="ruby-dev" |
slaxemulator@10146 | 10 TARBALL="$PACKAGE-$VERSION.gem" |
slaxemulator@10146 | 11 WEB_SITE="http://rubygems.org/gems/actionpack" |
slaxemulator@10146 | 12 WGET_URL="http://rubygems.org/downloads/$TARBALL" |
slaxemulator@10146 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@10146 | 14 |
slaxemulator@10146 | 15 # Rules to configure and make the package. |
slaxemulator@10146 | 16 compile_rules() |
slaxemulator@10146 | 17 { |
slaxemulator@10146 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@10146 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@10146 | 20 } |
slaxemulator@10146 | 21 |
slaxemulator@10146 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10146 | 23 genpkg_rules() |
slaxemulator@10146 | 24 { |
slaxemulator@13072 | 25 cp -a $install/usr $fs |
slaxemulator@10146 | 26 } |