|
@@ -1,5 +1,5 @@
|
1
|
1
|
#
|
2
|
|
-# Copyright (C) 2013-2014 OpenWrt.org
|
|
2
|
+# Copyright (C) 2013-2015 OpenWrt.org
|
3
|
3
|
#
|
4
|
4
|
# This is free software, licensed under the GNU General Public License v2.
|
5
|
5
|
# See /LICENSE for more information.
|
|
@@ -8,63 +8,65 @@
|
8
|
8
|
include $(TOPDIR)/rules.mk
|
9
|
9
|
|
10
|
10
|
PKG_NAME:=dump1090
|
11
|
|
-PKG_VERSION:=2014-11-09
|
|
11
|
+PKG_VERSION:=2015-09-28
|
12
|
12
|
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
|
13
|
13
|
|
14
|
14
|
PKG_SOURCE_PROTO:=git
|
15
|
|
-PKG_SOURCE_URL:=git://github.com/MalcolmRobb/dump1090.git
|
|
15
|
+PKG_SOURCE_URL:=git://github.com/mutability/dump1090.git
|
16
|
16
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
17
|
|
-PKG_SOURCE_VERSION:=bff92c4ad772a0a8d433f788d39dae97e00e4dbe
|
|
17
|
+PKG_SOURCE_VERSION:=3b4c872ea67118de1399ba9979e71b504a36aca8
|
18
|
18
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
19
|
19
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
20
|
20
|
|
21
|
|
-PKG_LICENSE:=BSD-3c
|
22
|
|
-
|
23
|
|
-PKG_CONFIG_DEPENDS:= \
|
24
|
|
- CONFIG_DUMP1090_DUMP \
|
25
|
|
- CONFIG_DUMP1090_WWW \
|
26
|
|
- CONFIG_DUMP1090_VIEW
|
|
21
|
+PKG_LICENSE:=GPL-2.0
|
|
22
|
+PKG_LICENSE_FILES:=COPYING,LICENSE
|
27
|
23
|
|
28
|
24
|
include $(INCLUDE_DIR)/package.mk
|
29
|
25
|
|
30
|
|
-define Package/dump1090
|
|
26
|
+define Package/dump1090/Default
|
31
|
27
|
SECTION:=utils
|
32
|
28
|
CATEGORY:=Utilities
|
33
|
29
|
TITLE:=Mode S decoder for the Realtek RTL2832U
|
34
|
|
- URL:=https://github.com/MalcolmRobb/dump1090
|
|
30
|
+ URL:=https://github.com/mutability/dump1090
|
35
|
31
|
DEPENDS:=+libpthread +librtlsdr
|
36
|
32
|
endef
|
37
|
33
|
|
38
|
|
-define Package/dump1090/config
|
39
|
|
- source "$(SOURCE)/Config.in"
|
|
34
|
+define Package/dump1090
|
|
35
|
+ $(call Package/dump1090/Default)
|
|
36
|
+ TITLE+= (dump1090)
|
|
37
|
+endef
|
|
38
|
+
|
|
39
|
+define Package/view1090
|
|
40
|
+ $(call Package/dump1090/Default)
|
|
41
|
+ TITLE+= (view1090)
|
40
|
42
|
endef
|
41
|
43
|
|
42
|
44
|
define Package/dump1090/description
|
43
|
45
|
Dump1090 is a Mode S decoder specifically designed for RTLSDR devices.
|
44
|
|
- Embedded HTTP server that displays the currently detected aircrafts on
|
45
|
|
- Google Maps. Network output in Basestation and AVR formats.
|
|
46
|
+endef
|
|
47
|
+
|
|
48
|
+define Package/view1090/description
|
|
49
|
+ View1090 is a Mode S messages viewer for dump1090 devices.
|
46
|
50
|
endef
|
47
|
51
|
|
48
|
52
|
MAKE_FLAGS += \
|
49
|
53
|
CFLAGS="$(TARGET_CFLAGS)"
|
50
|
54
|
|
51
|
55
|
define Package/dump1090/install
|
52
|
|
- $(INSTALL_DIR) $(1)/usr/bin
|
53
|
|
-
|
54
|
|
-ifneq ($(CONFIG_DUMP1090_DUMP),)
|
55
|
56
|
$(INSTALL_DIR) $(1)/etc/init.d
|
56
|
57
|
$(INSTALL_BIN) files/dump1090.init $(1)/etc/init.d/dump1090
|
57
|
58
|
$(INSTALL_DIR) $(1)/etc/config
|
58
|
59
|
$(INSTALL_CONF) files/dump1090.config $(1)/etc/config/dump1090
|
59
|
|
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/dump1090 $(1)/usr/bin
|
60
|
|
-ifneq ($(CONFIG_DUMP1090_WWW),)
|
61
|
60
|
$(INSTALL_DIR) $(1)/usr/share/dump1090
|
62
|
61
|
$(CP) $(PKG_BUILD_DIR)/public_html/* $(1)/usr/share/dump1090
|
63
|
|
-endif
|
64
|
|
-endif
|
65
|
|
-ifneq ($(CONFIG_DUMP1090_VIEW),)
|
|
62
|
+ $(INSTALL_DIR) $(1)/usr/bin
|
|
63
|
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/dump1090 $(1)/usr/bin
|
|
64
|
+endef
|
|
65
|
+
|
|
66
|
+define Package/view1090/install
|
|
67
|
+ $(INSTALL_DIR) $(1)/usr/bin
|
66
|
68
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/view1090 $(1)/usr/bin
|
67
|
|
-endif
|
68
|
69
|
endef
|
69
|
70
|
|
70
|
71
|
$(eval $(call BuildPackage,dump1090))
|
|
72
|
+$(eval $(call BuildPackage,view1090))
|