Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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.24
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 72d37c79c85615ffe158aa524d649610
  8. PKG_DESCR:= Network Intrusion Detection System library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libnet libpcap glib
  11. PKG_BUILDDEP:= autotool libnet libpcap glib
  12. PKG_URL:= http://libnids.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libnids/}
  14. PKG_OPTS:= dev
  15. PKG_LIBC_DEPENDS:= uclibc glibc
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBNIDS,libnids,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. TARGET_LDFLAGS+= -lpthread
  19. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  20. CONFIGURE_ARGS+= --with-libpcap=${STAGING_TARGET_DIR}/usr
  21. AUTOTOOL_STYLE:= autoreconf
  22. XAKE_FLAGS+= install_prefix="${WRKINST}"
  23. libnids-install:
  24. ${INSTALL_DIR} ${IDIR_LIBNIDS}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libnids.so* ${IDIR_LIBNIDS}/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk