Add rtl-ais: rtl-sdr AIS dual channel tuner
authorNuno Goncalves <[email protected]>
Mon, 13 Jul 2015 23:52:39 +0000 (00:52 +0100)
committerNuno Goncalves <[email protected]>
Tue, 14 Jul 2015 11:32:44 +0000 (12:32 +0100)
Signed-off-by: Nuno Goncalves <[email protected]>
utils/rtl-ais/Makefile [new file with mode: 0644]

diff --git a/utils/rtl-ais/Makefile b/utils/rtl-ais/Makefile
new file mode 100644 (file)
index 0000000..9f692d2
--- /dev/null
@@ -0,0 +1,46 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=rtl-ais
+PKG_VERSION:=20150713
+
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/dgiardini/rtl-ais.git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=d1084f6514cb161266f5bc5c6662070ad7c87560
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+
+PKG_LICENSE:=GPL-2.0+
+PKG_LICENSE_FILES:=COPYING
+
+PKG_MAINTAINER:=Nuno Goncalves <[email protected]>
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/rtl-ais
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=rtl-sdr AIS dual channel tuner
+  DEPENDS:=+libpthread +librtlsdr
+  URL:=https://github.com/dgiardini/rtl-ais
+endef
+
+define Package/rtl-ais/description
+  rtl_ais uses a rtl2832u dvb-t dongle to tune AIS (Automatic Identification
+  System) used on ships and by vessel traffic services
+endef
+
+
+define Package/rtl-ais/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/rtl_ais $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,rtl-ais))