wok-6.x view passenger/receipt @ rev 19038

Add: Webian Shell (A full screen web browser.)
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Apr 15 08:16:46 2016 -0300 (2016-04-15)
parents f315dcaf1948
children febd8d7de57b
line source
1 # SliTaz package receipt.
3 PACKAGE="passenger"
4 VERSION="4.0.10"
5 CATEGORY="network"
6 SHORT_DESC="Rails and Rack support for Apache2."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="http://rubygems.org/gems/passenger"
11 WGET_URL="http://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby rake libev libcurl fastthread daemon_controller spruz file-tail rack apache"
15 BUILD_DEPENDS="$DEPENDS ruby-dev curl-dev libev-dev apr-dev apr-util-dev apache-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 gem install --no-rdoc --no-ri --ignore-dependencies \
23 --install-dir $PWD/ $SOURCES_REPOSITORY/$TARBALL
25 # Build Apache module
26 cd gems/$PACKAGE-$VERSION/
27 rake fakeroot APXS2=/usr/bin/apxs USE_VENDORED_LIBEV=no RELEASE=yes \
28 APR_CONFIG=/usr/bin/apr-1-config APU_CONFIG=/usr/bin/apu-1-config
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/var/run/passenger $fs/etc/apache/conf.d
36 cp -a $stuff/passenger.conf $fs/etc/apache/conf.d
37 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/bin $fs/usr
38 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/sbin $fs/usr
39 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/lib $fs/usr
40 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/share/passenger $fs/usr/share
42 # Clean-up
43 rm -rf $fs/usr/share/phusion-passenger/source
44 }