diff options
Diffstat (limited to 'homebrew/snort/.make.sh-auto')
-rw-r--r-- | homebrew/snort/.make.sh-auto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/snort/.make.sh-auto b/homebrew/snort/.make.sh-auto new file mode 100644 index 000000000..46a681982 --- /dev/null +++ b/homebrew/snort/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +openssl = Formula["openssl"] +libpcap = Formula["libpcap"] +args = %W[--prefix=#{prefix} --sysconfdir=#{etc}/snort --disable-debug --disable-dependency-tracking --disable-silent-rules --enable-active-response --enable-flexresp3 --enable-gre --enable-mpls --enable-normalizer --enable-react --enable-reload --enable-sourcefire --enable-targetbased --with-openssl-includes=#{openssl.opt_include} --with-openssl-libraries=#{openssl.opt_lib} --with-libpcap-includes=#{libpcap.opt_include} --with-libpcap-libraries=#{libpcap.opt_lib} ] +pkg:configure *args +make DESTDIR=${PKG_DEST} install +rm Dir[buildpath/"etc/Makefile*"] +(etc/"snort").install Dir[buildpath/"etc/*"] |