Makefile 815 B

1234567891011121314151617181920212223242526272829
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= libnids
  7. PKG_VERSION:= 1.18
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 9ee6dcdfac97bae6fe611aa27d2594a5
  10. MASTER_SITES:= http://www.packetfactory.net/projects/libnids/dist/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBNIDS,libnids,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS+= --with-libnet="${STAGING_DIR}/usr" \
  15. --with-libpcap="${STAGING_DIR}/usr"
  16. XAKE_FLAGS+= install_prefix="${WRKINST}"
  17. BUILD_STYLE= auto
  18. INSTALL_STYLE= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_LIBNIDS}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libnids.so.* ${IDIR_LIBNIDS}/usr/lib/
  22. include ${TOPDIR}/mk/pkg-bottom.mk