Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= libnetfilter_queue
  5. PKG_VERSION:= 0.0.17
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libnfnetlink
  8. PKG_MD5SUM:= 2cde35e678ead3a8f9eb896bf807a159
  9. PKG_DESCR:= API to packets that have been queued by the kernel packet filter
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= libnfnetlink
  12. PKG_URL:= http://www.netfilter.org/projects/libnetfilter_queue/
  13. PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_queue/files/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBNETFILTER_QUEUE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. # use following to add ./configure options
  19. #CONFIGURE_ARGS+= --disable-foo
  20. # overwrite any configure variables
  21. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. # please install all files and directories to the package dir
  25. post-install:
  26. $(INSTALL_DIR) $(IDIR_LIBNETFILTER_QUEUE)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libnetfilter_queue* $(IDIR_LIBNETFILTER_QUEUE)/usr/lib/
  28. include ${TOPDIR}/mk/pkg-bottom.mk