# HG changeset patch # User Christopher Rogers # Date 1305914379 0 # Node ID 01fd16efa7e5649dd989542da60c3d9894247fb1 # Parent ffa681f4f62f54e74ef41fd8fa9fa6c0c3dff533 Add actionpack. diff -r ffa681f4f62f -r 01fd16efa7e5 actionpack/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/actionpack/receipt Fri May 20 17:59:39 2011 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="actionpack" +VERSION="3.0.7" +CATEGORY="system-tools" +SHORT_DESC="Simple, battle-tested conventions for building and testing MVC web applications." +MAINTAINER="erjo@slitaz.org" +DEPENDS="ruby activesupport" +BUILD_DEPENDS="ruby-dev" +TARBALL="$PACKAGE-$VERSION.gem" +WEB_SITE="http://rubygems.org/gems/actionpack" +WGET_URL="http://rubygems.org/downloads/$TARBALL" +COOK_OPT="!repack_src !unpack" + +# Rules to configure and make the package. +compile_rules() +{ + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +} \ No newline at end of file