2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
15 PKG_SOURCE_URL
:=https
://github.com
/dgiardini
/rtl-ais.git
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE_VERSION
:=d1084f6514cb161266f5bc5c6662070ad7c87560
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
21 PKG_LICENSE_FILES
:=COPYING
23 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/rtl-ais
30 TITLE
:=rtl-sdr AIS dual channel tuner
31 DEPENDS
:=+libpthread
+librtlsdr
32 URL
:=https
://github.com
/dgiardini
/rtl-ais
35 define Package
/rtl-ais
/description
36 rtl_ais uses a rtl2832u dvb-t dongle to tune AIS
(Automatic Identification
37 System
) used on ships and by vessel traffic services
41 define Package
/rtl-ais
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/rtl_ais
$(1)/usr
/bin
/
46 $(eval
$(call BuildPackage
,rtl-ais
))