Date: Monday, June 12, 2017 @ 10:46:37 Author: mtorromeo Revision: 236380
Add nginx-mod-njs Added: nginx-mod-njs/ nginx-mod-njs/trunk/ nginx-mod-njs/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Added: nginx-mod-njs/trunk/PKGBUILD =================================================================== --- nginx-mod-njs/trunk/PKGBUILD (rev 0) +++ nginx-mod-njs/trunk/PKGBUILD 2017-06-12 10:46:37 UTC (rev 236380) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <[email protected]> + +pkgname=nginx-mod-njs +pkgver=0.1.10 # http://hg.nginx.org/njs/tags +pkgrel=1 + +_modname="${pkgname#nginx-mod-}" +_nginxver=1.12.0 + +pkgdesc='nginScript module for nginx' +arch=('i686' 'x86_64') +depends=("nginx=$_nginxver") +url="http://nginx.org/en/docs/njs_about.html" +license=('CUSTOM') + +source=( + http://nginx.org/download/nginx-$_nginxver.tar.gz + njs-$pkgver.tar.gz::http://hg.nginx.org/njs/archive/$pkgver.tar.gz +) + +sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30' + '17658ef9efa127f13b4d2541a69ddb4359267c63a11c19beda1d3220d4a2fe0d') + +build() { + cd "$srcdir"/nginx-$_nginxver + ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../njs-$pkgver/nginx + make modules +} + +package() { + install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + cd "$srcdir"/nginx-$_nginxver/objs + for mod in *.so; do + install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod + done +} Property changes on: nginx-mod-njs/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
