wok view rack/receipt @ rev 19635

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents ad320686d9cd
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="rack"
4 VERSION="1.3.5"
5 CATEGORY="network"
6 SHORT_DESC="Webserver Interface for Ruby"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rack.rubyforge.org/"
11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby activerecord"
15 BUILD_DEPENDS="$DEPENDS ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }