slitaz-forge annotate scn/receipts/actionpack/receipt @ rev 688

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