tcpreplay: update to version 4.2.5
[feed/packages.git] / utils / rtl-ais / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=rtl-ais
10 PKG_VERSION:=20151213
11
12 PKG_RELEASE=$(PKG_SOURCE_VERSION)
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=https://github.com/dgiardini/rtl-ais.git
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=b805be0164475e58a73b57763a8cbbf8a2bd0ded
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19 PKG_MIRROR_HASH:=0bf15869935e4496108ade4f7e9c1f7990b11ce53c9c1e0c9e81bc7f082b33b5
20
21 PKG_LICENSE:=GPL-2.0+
22 PKG_LICENSE_FILES:=COPYING
23
24 PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/rtl-ais
29 SECTION:=utils
30 CATEGORY:=Utilities
31 TITLE:=rtl-sdr AIS dual channel tuner
32 DEPENDS:=+libpthread +librtlsdr
33 URL:=https://github.com/dgiardini/rtl-ais
34 endef
35
36 define Package/rtl-ais/description
37 rtl_ais uses a rtl2832u dvb-t dongle to tune AIS (Automatic Identification
38 System) used on ships and by vessel traffic services
39 endef
40
41 define Package/rtl-ais/conffiles
42 /etc/config/rtl_ais
43 endef
44
45 define Package/rtl-ais/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/rtl_ais $(1)/usr/bin/
48 $(INSTALL_DIR) $(1)/etc/init.d
49 $(INSTALL_BIN) ./files/rtl_ais.init $(1)/etc/init.d/rtl_ais
50 $(INSTALL_DIR) $(1)/etc/config
51 $(INSTALL_DATA) ./files/uci_rtl_ais $(1)/etc/config/rtl_ais
52 endef
53
54 $(eval $(call BuildPackage,rtl-ais))