wok view passenger/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (3 months ago)
parents a3c45ab9082e
children
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="https://rubygems.org/gems/passenger"
11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby rake libev libcurl 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 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/versions.[0-9]/!d;s|.*versions/||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 gem install --no-document --ignore-dependencies \
29 --install-dir $PWD/ $SOURCES_REPOSITORY/$TARBALL
31 # Build Apache module
32 cd gems/$PACKAGE-$VERSION/
33 rake fakeroot APXS2=/usr/bin/apxs USE_VENDORED_LIBEV=no RELEASE=yes \
34 APR_CONFIG=/usr/bin/apr-1-config APU_CONFIG=/usr/bin/apu-1-config
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share $fs/var/run/passenger $fs/etc/apache/conf.d
42 cp -a $stuff/passenger.conf $fs/etc/apache/conf.d
43 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/bin $fs/usr
44 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/sbin $fs/usr
45 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/lib $fs/usr
46 cp -a $src/gems/$PACKAGE-$VERSION/pkg/fakeroot/usr/share/passenger $fs/usr/share
48 # Clean-up
49 rm -rf $fs/usr/share/phusion-passenger/source
50 }