File: build.sh

package info (click to toggle)
libnginx-mod-http-set-misc 0.33-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: ansic: 2,205; sh: 106; makefile: 3
file content (35 lines) | stat: -rwxr-xr-x 981 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash

# this file is mostly meant to be used by the author himself.

root=`pwd`
home=~
version=$1
force=$2

    #--with-cc="gcc46" \
    #--with-ld-opt="-rdynamic" \
    #--with-mail \
    #--with-mail_ssl_module \

ngx-build $force $version \
    --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" \
    --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" \
    --with-http_ssl_module \
    --without-mail_pop3_module \
    --without-mail_imap_module \
    --without-mail_smtp_module \
    --without-http_upstream_ip_hash_module \
    --without-http_empty_gif_module \
    --without-http_memcached_module \
    --without-http_referer_module \
    --without-http_autoindex_module \
    --without-http_auth_basic_module \
    --without-http_userid_module \
    --add-module=$root/../echo-nginx-module \
    --add-module=$root/../ndk-nginx-module \
    --add-module=$root/../iconv-nginx-module \
    --add-module=$root $opts \
    --with-debug \
  || exit 1