Makefile 1.1 KB

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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libnetfilter_queue
  5. PKG_VERSION:= 1.0.2
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= df09befac35cb215865b39a36c96a3fa
  8. PKG_DESCR:= api to packets that have been queued by the kernel packet filter
  9. PKG_SECTION:= libs/net
  10. PKG_DEPENDS:= libnfnetlink libmnl
  11. PKG_BUILDDEP:= libnfnetlink libmnl
  12. PKG_URL:= http://www.netfilter.org/projects/libnetfilter_queue/
  13. PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_queue/files/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBNETFILTER_QUEUE,libnetfilter-queue,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. TARGET_CPPFLAGS+= -D_GNU_SOURCE
  19. libnetfilter-queue-install:
  20. $(INSTALL_DIR) $(IDIR_LIBNETFILTER_QUEUE)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libnetfilter_queue*so* \
  22. $(IDIR_LIBNETFILTER_QUEUE)/usr/lib/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk