1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
6 PKG_NAME
:= libnetfilter_queue
9 PKG_HASH
:= 838490eb5dbe358f9669823704982f5313a8d397111562373200203f93ac1a32
10 PKG_DESCR
:= api to packets that have been queued by the kernel packet
filter
11 PKG_SECTION
:= libs
/net
12 PKG_DEPENDS
:= libnfnetlink libmnl
13 PKG_BUILDDEP
:= libnfnetlink libmnl
14 PKG_URL
:= http
://www.netfilter.org
/projects
/libnetfilter_queue
/
15 PKG_SITES
:= http
://www.netfilter.org
/projects
/libnetfilter_queue
/files
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,LIBNETFILTER_QUEUE
,libnetfilter-queue
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 TARGET_CPPFLAGS
+= -D_GNU_SOURCE
26 libnetfilter-queue-install
:
27 $(INSTALL_DIR
) $(IDIR_LIBNETFILTER_QUEUE
)/usr
/lib
28 $(CP
) $(WRKINST
)/usr
/lib
/libnetfilter_queue
*so
* \
29 $(IDIR_LIBNETFILTER_QUEUE
)/usr
/lib
/
31 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk