2 # Copyright (C) 2009-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
:=libnetfilter_cthelper
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 http
://www.netfilter.org
/projects
/libnetfilter_cthelper
/files
/ \
17 ftp
://ftp.netfilter.org
/pub
/libnetfilter_cthelper
/
18 PKG_HASH
:=07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libnetfilter-cthelper
31 TITLE
:=API to the in-kernel connection tracking helper infrastructure
32 URL
:=http
://www.netfilter.org
/projects
/libnetfilter_cthelper
/
36 define Package
/libnetfilter-cthelper
/description
37 libnetfilter_cthelper is a userspace library providing a programming
38 interface
(API
) to the in-kernel connection tracking helpers.
39 This library is currently used by conntrack-tools.
42 TARGET_CFLAGS
+= $(FPIC
)
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include/libnetfilter_cthelper
51 $(PKG_INSTALL_DIR
)/usr
/include/libnetfilter_cthelper
/*.h \
52 $(1)/usr
/include/libnetfilter_cthelper
/
54 $(INSTALL_DIR
) $(1)/usr
/lib
56 $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_cthelper.
{so
*,a
,la
} \
59 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
61 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libnetfilter_cthelper.
pc \
62 $(1)/usr
/lib
/pkgconfig
/
65 define Package
/libnetfilter-cthelper
/install
66 $(INSTALL_DIR
) $(1)/usr
/lib
68 $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_cthelper.so.
* \
72 $(eval
$(call BuildPackage
,libnetfilter-cthelper
))