OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # Copyright (C) 2009-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7  
8 include $(TOPDIR)/rules.mk
9  
10 PKG_NAME:=libnetfilter_cthelper
11 PKG_VERSION:=1.0.0
3 office 12 PKG_RELEASE:=1
1 office 13  
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:= \
16 http://www.netfilter.org/projects/libnetfilter_cthelper/files/ \
17 ftp://ftp.netfilter.org/pub/libnetfilter_cthelper/
18 PKG_HASH:=07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d
19  
20 PKG_FIXUP:=autoreconf
21 PKG_LICENSE:=GPL-2.0+
22  
23 PKG_INSTALL:=1
24  
25 include $(INCLUDE_DIR)/package.mk
26  
27 define Package/libnetfilter-cthelper
28 SECTION:=libs
29 CATEGORY:=Libraries
30 DEPENDS:=+libmnl
31 TITLE:=API to the in-kernel connection tracking helper infrastructure
32 URL:=http://www.netfilter.org/projects/libnetfilter_cthelper/
33 endef
34  
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.
39 endef
40  
41 TARGET_CFLAGS += $(FPIC)
42  
43 CONFIGURE_ARGS += \
44 --enable-static \
45 --enable-shared \
46  
47 define Build/InstallDev
48 $(INSTALL_DIR) $(1)/usr/include/libnetfilter_cthelper
49 $(CP) \
50 $(PKG_INSTALL_DIR)/usr/include/libnetfilter_cthelper/*.h \
51 $(1)/usr/include/libnetfilter_cthelper/
52  
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(CP) \
55 $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_cthelper.{so*,a,la} \
56 $(1)/usr/lib/
57  
58 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
59 $(CP) \
60 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetfilter_cthelper.pc \
61 $(1)/usr/lib/pkgconfig/
62 endef
63  
64 define Package/libnetfilter-cthelper/install
65 $(INSTALL_DIR) $(1)/usr/lib
66 $(CP) \
67 $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_cthelper.so.* \
68 $(1)/usr/lib/
69 endef
70  
71 $(eval $(call BuildPackage,libnetfilter-cthelper))