added xf86-input-evtouch package Support for touchscreens with xf86
[openadk.git] / package / snort / Makefile
blob64dab93e81a7063258fbfecb83976c856182d806
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${TOPDIR}/rules.mk
6 PKG_NAME:= snort
7 PKG_VERSION:= 2.8.5.1
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= b1abf3a9fa3486720c9a2b5eff920417
10 PKG_DESCR:= a flexible Network Intrusion Detection System (NIDS)
11 PKG_SECTION:= net
12 PKG_NOPARALLEL:= 1
13 PKG_DEPENDS:= libnet libpcap libpcre
14 PKG_BUILDDEP+= libnet libpcap pcre
15 PKG_URL:= http://www.snort.org/
16 PKG_SITES:= http://dl.snort.org/snort-current/
18 include ${TOPDIR}/mk/package.mk
20 $(eval $(call PKG_template,SNORT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIGURE_STYLE:= gnu
23 CONFIGURE_ARGS+= --disable-flexresp \
24 --with-libnet-includes="${STAGING_DIR}/usr/include" \
25 --with-libnet-libraries="${STAGING_DIR}/usr/lib" \
26 --with-libpcap-includes="${STAGING_DIR}/usr/include" \
27 --with-libpcap-libraries="${STAGING_DIR}/usr/lib" \
28 --with-libpcre-includes="${STAGING_DIR}/usr/include" \
29 --with-libpcre-libraries="${STAGING_DIR}/usr/lib" \
30 --without-mysql \
31 --without-postgresql \
32 --disable-inline
33 BUILD_STYLE:= auto
34 INSTALL_STYLE:= auto
36 post-install:
37 ${INSTALL_DIR} ${IDIR_SNORT}/usr/bin
38 ${INSTALL_DIR} ${IDIR_SNORT}/etc/snort
39 ${INSTALL_DATA} ${WRKBUILD}/etc/snort.conf ${IDIR_SNORT}/etc/snort/
40 ${INSTALL_DATA} ${WRKBUILD}/etc/classification.config \
41 ${IDIR_SNORT}/etc/snort/
42 ${INSTALL_DATA} ${WRKBUILD}/etc/gen-msg.map ${IDIR_SNORT}/etc/snort/
43 ${INSTALL_DATA} ${WRKBUILD}/etc/reference.config ${IDIR_SNORT}/etc/snort/
44 ${INSTALL_DATA} ${WRKBUILD}/etc/sid-msg.map ${IDIR_SNORT}/etc/snort/
45 ${INSTALL_DATA} ${WRKBUILD}/etc/threshold.conf ${IDIR_SNORT}/etc/snort/
46 ${INSTALL_DATA} ${WRKBUILD}/etc/unicode.map ${IDIR_SNORT}/etc/snort/
47 ${INSTALL_BIN} ${WRKINST}/usr/bin/snort ${IDIR_SNORT}/usr/bin
49 include ${TOPDIR}/mk/pkg-bottom.mk