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
/
35 define Package
/libnetfilter-cthelper
/description
36 libnetfilter_cthelper is a userspace library providing a programming
37 interface
(API
) to the in-kernel connection tracking helpers.
38 This library is currently used by conntrack-tools.
41 TARGET_CFLAGS
+= $(FPIC
)
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include/libnetfilter_cthelper
50 $(PKG_INSTALL_DIR
)/usr
/include/libnetfilter_cthelper
/*.h \
51 $(1)/usr
/include/libnetfilter_cthelper
/
53 $(INSTALL_DIR
) $(1)/usr
/lib
55 $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_cthelper.
{so
*,a
,la
} \
58 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libnetfilter_cthelper.
pc \
61 $(1)/usr
/lib
/pkgconfig
/
64 define Package
/libnetfilter-cthelper
/install
65 $(INSTALL_DIR
) $(1)/usr
/lib
67 $(PKG_INSTALL_DIR
)/usr
/lib
/libnetfilter_cthelper.so.
* \
71 $(eval
$(call BuildPackage
,libnetfilter-cthelper
))