[arch-commits] Commit in (3 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Jun 12 12:36:26 UTC 2017
Date: Monday, June 12, 2017 @ 12:36:25
Author: mtorromeo
Revision: 236401
Add nginx-mod-passenger
Added:
nginx-mod-passenger/
nginx-mod-passenger/trunk/
nginx-mod-passenger/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: nginx-mod-passenger/trunk/PKGBUILD
===================================================================
--- nginx-mod-passenger/trunk/PKGBUILD (rev 0)
+++ nginx-mod-passenger/trunk/PKGBUILD 2017-06-12 12:36:25 UTC (rev 236401)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-passenger
+pkgver=5.1.4
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc="Fast and robust web server and application server for Ruby, Python and Node.js"
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver" 'ruby')
+url="https://www.phusionpassenger.com"
+license=('MIT')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://github.com/phusion/passenger/archive/release-$pkgver/$_modname-$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+ '8e96a39eb7a07a8455fc3d22337e1981e77c67477796b8d54094c2dbcf4e61c8')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../$_modname-release-$pkgver/src/nginx_module
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/$_modname-release-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in ngx_*.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
Property changes on: nginx-mod-passenger/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list