slitaz-forge view scn/receipts/actionpack/receipt @ rev 205
usbkey: xhtml validation
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 23 11:56:32 2012 +0100 (2012-03-23) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="actionpack"
4 VERSION="2.3.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ruby activesupport"
9 DEPENDS="rubygems"
10 TARBALL="$PACKAGE-$VERSION.gem"
11 WEB_SITE="http://rubygems.org/gems/actionpack"
12 WGET_URL="http://rubygems.org/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d $PACKAGE-$VERSION ] || mkdir $PACKAGE-$VERSION
18 cd $src
20 RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
21 gem install --no-rdoc --no-ri --ignore-dependencies \
22 --install-dir $PWD/_pkg/usr/lib/ruby/gems/${RUBY_VERSION%.*} $SOURCES_REPOSITORY/$TARBALL
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 RUBY_VERSION="$(ruby -e 'print RUBY_VERSION')"
29 mkdir -p $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 }