@ -8,21 +8,20 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := dump1090
PKG_NAME := dump1090
PKG_VERSION := 2017-06-0 1
PKG_VERSION := 3.7. 1
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE_PROTO := git
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/mutability/dump1090.git
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_VERSION := b155fdb458c3241ab375d1f2b12fbb6a9f8a8a3a
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) -$( PKG_SOURCE_VERSION) .tar.xz
PKG_MIRROR_HASH := bea40197bce22c837273848bc75d273c2688b131c11895685a35ee6c6242843a
PKG_MAINTAINER := Álvaro Fernández Rojas <noltari@gmail.com>
PKG_SOURCE_URL := https://github.com/flightaware/dump1090
PKG_SOURCE_VERSION := v$( PKG_VERSION)
PKG_MIRROR_HASH := d7ed250d624eae2eec6c0a2dd410986f42230bf929dab67893ea3bf1cab8a203
PKG_LICENSE := GPL-2.0
PKG_MAINTAINER := Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE := GPL-2.0-or-later
PKG_LICENSE_FILES := COPYING LICENSE
PKG_LICENSE_FILES := COPYING LICENSE
PKG_BUILD_DEPENDS := libusb
PKG_BUILD_DEPENDS := libusb
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -31,18 +30,18 @@ define Package/dump1090/Default
CATEGORY:= Utilities
CATEGORY:= Utilities
TITLE:= Mode S decoder for the Realtek RTL2832U
TITLE:= Mode S decoder for the Realtek RTL2832U
URL:= https://github.com/mutability/dump1090
URL:= https://github.com/mutability/dump1090
DEPENDS:= +libpthread
e n d e f
e n d e f
d e f i n e P a c k a g e / d u m p 1 0 9 0
d e f i n e P a c k a g e / d u m p 1 0 9 0
$( call Package/dump1090/Default)
$( call Package/dump1090/Default)
TITLE += ( dump1090)
TITLE += ( dump1090)
DEPENDS += +librtlsdr +uhttpd
DEPENDS += +librtlsdr +uhttpd +libncurses
e n d e f
e n d e f
d e f i n e P a c k a g e / v i e w 1 0 9 0
d e f i n e P a c k a g e / v i e w 1 0 9 0
$( call Package/dump1090/Default)
$( call Package/dump1090/Default)
TITLE += ( view1090)
TITLE += ( view1090)
DEPENDS += +libncurses
e n d e f
e n d e f
d e f i n e P a c k a g e / d u m p 1 0 9 0 / d e s c r i p t i o n
d e f i n e P a c k a g e / d u m p 1 0 9 0 / d e s c r i p t i o n
@ -54,9 +53,13 @@ define Package/view1090/description
e n d e f
e n d e f
MAKE_FLAGS += \
MAKE_FLAGS += \
BLADERF = no \
CFLAGS = " $( TARGET_CFLAGS) " \
CFLAGS = " $( TARGET_CFLAGS) " \
UNAME = "Linux"
UNAME = "Linux"
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
d e f i n e P a c k a g e / d u m p 1 0 9 0 / i n s t a l l
d e f i n e P a c k a g e / d u m p 1 0 9 0 / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_BIN) files/dump1090.init $( 1) /etc/init.d/dump1090
$( INSTALL_BIN) files/dump1090.init $( 1) /etc/init.d/dump1090