OpenWrt – Blame information for rev 3
?pathlinks?
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_queue |
||
3 | office | 11 | PKG_RELEASE:=1 |
1 | office | 12 | |
13 | PKG_SOURCE_PROTO:=git |
||
14 | PKG_SOURCE_URL=https://git.netfilter.org/libnetfilter_queue |
||
15 | PKG_SOURCE_DATE:=2017-06-27 |
||
16 | PKG_SOURCE_VERSION:=601abd1c71ccdf90753cf294c120ad43fb25dc54 |
||
17 | PKG_MIRROR_HASH:=283b99cfe5856dc87fd6bab8f78c0c59b72462d6b4f2b13111f928cf33020eb3 |
||
18 | |||
19 | PKG_FIXUP:=autoreconf |
||
20 | PKG_LICENSE:=GPL-2.0+ |
||
21 | |||
22 | PKG_INSTALL:=1 |
||
23 | |||
24 | include $(INCLUDE_DIR)/package.mk |
||
25 | |||
26 | define Package/libnetfilter-queue |
||
27 | SECTION:=libs |
||
28 | CATEGORY:=Libraries |
||
29 | DEPENDS:=+libmnl +libnfnetlink |
||
30 | TITLE:=API to the in-kernel connection tracking queue infrastructure |
||
31 | URL:=http://www.netfilter.org/projects/libnetfilter_queue/ |
||
32 | endef |
||
33 | |||
34 | define Package/libnetfilter-queue/description |
||
35 | libnetfilter_queue is a userspace library providing a programming |
||
36 | interface (API) to the in-kernel connection tracking state table. |
||
37 | This library is currently used by conntrack-tools. |
||
38 | endef |
||
39 | |||
40 | TARGET_CFLAGS += $(FPIC) -D_GNU_SOURCE=1 |
||
41 | |||
42 | CONFIGURE_ARGS += \ |
||
43 | --enable-static \ |
||
44 | --enable-shared \ |
||
45 | |||
46 | define Build/InstallDev |
||
47 | $(INSTALL_DIR) $(1)/usr/include/libnetfilter_queue |
||
48 | $(CP) \ |
||
49 | $(PKG_INSTALL_DIR)/usr/include/libnetfilter_queue/*.h \ |
||
50 | $(1)/usr/include/libnetfilter_queue/ |
||
51 | |||
52 | $(INSTALL_DIR) $(1)/usr/lib |
||
53 | $(CP) \ |
||
54 | $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_queue.{so*,a,la} \ |
||
55 | $(1)/usr/lib/ |
||
56 | |||
57 | $(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
||
58 | $(CP) \ |
||
59 | $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetfilter_queue.pc \ |
||
60 | $(1)/usr/lib/pkgconfig/ |
||
61 | endef |
||
62 | |||
63 | define Package/libnetfilter-queue/install |
||
64 | $(INSTALL_DIR) $(1)/usr/lib |
||
65 | $(CP) \ |
||
66 | $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_queue.so.* \ |
||
67 | $(1)/usr/lib/ |
||
68 | endef |
||
69 | |||
70 | $(eval $(call BuildPackage,libnetfilter-queue)) |