wok view passenger/receipt @ rev 20584
libimobiledevice, openvas-client, passenger: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 14 22:12:43 2018 +0100 (2018-12-14) |
parents | 2a5cc8208d36 |
children | a78610b2eb47 |
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 \
15 rack apache"
16 BUILD_DEPENDS="$DEPENDS ruby-dev curl-dev libev-dev apr-dev apr-util-dev \
17 apache-dev file"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }