1
0

Makefile 992 B

12345678910111213141516171819202122232425262728293031
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libnids
  5. PKG_VERSION:= 1.23
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= af35e8ef403a0ca95df2da94db856428
  8. PKG_DESCR:= Network Intrusion Detection System library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libnet libpcap
  11. PKG_URL:= http://libnids.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libnids/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBNIDS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= autoconf gnu
  16. CONFIGURE_ARGS+= --with-libpcap=${STAGING_DIR}/usr
  17. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  18. XAKE_FLAGS+= install_prefix="${WRKINST}"
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBNIDS}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libnids.so* ${IDIR_LIBNIDS}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk