2 # Copyright (C) 2007-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libnfnetlink
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 http
://www.netfilter.org
/projects
/libnfnetlink
/files
/ \
17 ftp
://ftp.netfilter.org
/pub
/libnfnetlink
/
18 PKG_HASH
:=b064c7c3d426efb4786e60a8e6859b82ee2f2c5e49ffeea640cfe4fe33cbc376
19 PKG_MAINTAINER
:=Jo-Philipp Wich
<jo@mein.io
>
21 PKG_CPE_ID
:=cpe
:/a
:netfilter
:libnfnetlink
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/libnfnetlink
32 TITLE
:=A low-level library for netfilter related kernel
/userspace communication
33 URL
:=http
://netfilter.org
/projects
/libnfnetlink
/
37 define Package
/libnfnetlink
/description
38 libnfnetlink is is the low-level library for netfilter related kernel
/userspace communication.
39 It provides a generic messaging infrastructure for in-kernel netfilter subsystems
40 (such
as nfnetlink_log
, nfnetlink_queue
, nfnetlink_conntrack
) and their respective users
41 and
/or management tools in userspace.
49 lt_prog_compiler_pic
="$(FPIC)"
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/include/libnfnetlink
54 $(PKG_INSTALL_DIR
)/usr
/include/libnfnetlink
/{libnfnetlink
,linux_nfnetlink
,linux_nfnetlink_compat
}.h \
55 $(1)/usr
/include/libnfnetlink
/
56 $(INSTALL_DIR
) $(1)/usr
/lib
58 $(PKG_INSTALL_DIR
)/usr
/lib
/libnfnetlink.
{a
,so
*} \
60 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
62 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libnfnetlink.
pc \
63 $(1)/usr
/lib
/pkgconfig
/
66 define Package
/libnfnetlink
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
69 $(PKG_INSTALL_DIR
)/usr
/lib
/libnfnetlink.so.
* \
73 $(eval
$(call BuildPackage
,libnfnetlink
))