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 http
://mirrors.evolva.ro
/netfilter.org
/libnfnetlink
/
19 PKG_MD5SUM
:=98927583d2016a9fb1936fed992e2c5e
20 PKG_MAINTAINER
:=Jo-Philipp Wich
<jow@openwrt.org
>
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/libnfnetlink
31 TITLE
:=A low-level library for netfilter related kernel
/userspace communication
32 URL
:=http
://netfilter.org
/projects
/libnfnetlink
/
35 define Package
/libnfnetlink
/description
36 libnfnetlink is is the low-level library for netfilter related kernel
/userspace communication.
37 It provides a generic messaging infrastructure for in-kernel netfilter subsystems
38 (such
as nfnetlink_log
, nfnetlink_queue
, nfnetlink_conntrack
) and their respective users
39 and
/or management tools in userspace.
42 TARGET_CFLAGS
+= $(FPIC
)
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include/libnfnetlink
51 $(PKG_INSTALL_DIR
)/usr
/include/libnfnetlink
/{libnfnetlink
,linux_nfnetlink
,linux_nfnetlink_compat
}.h \
52 $(1)/usr
/include/libnfnetlink
/
53 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(PKG_INSTALL_DIR
)/usr
/lib
/libnfnetlink.
{a
,so
*} \
57 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
59 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libnfnetlink.
pc \
60 $(1)/usr
/lib
/pkgconfig
/
63 define Package
/libnfnetlink
/install
64 $(INSTALL_DIR
) $(1)/usr
/lib
66 $(PKG_INSTALL_DIR
)/usr
/lib
/libnfnetlink.so.
* \
70 $(eval
$(call BuildPackage
,libnfnetlink
))