source: freewrt/package/snort/Makefile@ cf11c27

Last change on this file since cf11c27 was 96376d9, checked in by Thorsten Glaser <tg@…>, 19 years ago

fix a bunch of rc.conf addition bugs

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2751 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include ${TOPDIR}/rules.mk
8
9PKG_NAME:= snort
10PKG_VERSION:= 2.6.1.2
11PKG_RELEASE:= 6
12PKG_MD5SUM:= 22c448e25538cdf74c62abe586aeac0a
13MASTER_SITES:= http://www.snort.org/dl/current/
14
15include ${TOPDIR}/mk/package.mk
16
17$(eval $(call PKG_template,SNORT,snort,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
18
19CONFIGURE_STYLE= gnu
20CONFIGURE_ARGS+= --enable-flexresp \
21 --with-libnet-includes="${STAGING_DIR}/usr/include" \
22 --with-libnet-libraries="${STAGING_DIR}/usr/lib" \
23 --with-libpcap-includes="${STAGING_DIR}/usr/include" \
24 --with-libpcap-libraries="${STAGING_DIR}/usr/lib" \
25 --with-libpcre-includes="${STAGING_DIR}/usr/include" \
26 --with-libpcre-libraries="${STAGING_DIR}/usr/lib" \
27 --without-mysql \
28 --without-postgresql \
29 --disable-inline
30BUILD_STYLE= auto
31INSTALL_STYLE= auto
32
33post-install:
34 ${INSTALL_DIR} ${IDIR_SNORT}/usr/bin
35 ${INSTALL_DIR} ${IDIR_SNORT}/etc/init.d
36 ${INSTALL_DIR} ${IDIR_SNORT}/etc/snort
37 ${INSTALL_BIN} ./files/snort.init \
38 ${IDIR_SNORT}/etc/init.d/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
48
49include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the repository browser.