# SliTaz package receipt. PACKAGE="actionpack" VERSION="3.1.1" 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 }