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
/stripydog
/kplex.git
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE_VERSION
:=fec47cd1877ec7903969adefa4220838a706d940
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
30 TITLE
:=NMEA-0183 multiplexer and router
32 URL
:=http
://www.stripydog.com
/kplex
/
35 define Package
/kplex
/description
36 Kplex is a program for combining and routing NMEA-0183 data to and from multiple
37 sources and destinations. kplex inputs and outputs may be any of Serial lines
,
38 Pseudo Terminals
(ptys
), Network Interfaces and Files.
41 define Package
/kplex
/conffiles
45 define Package
/kplex
/install
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/kplex
$(1)/usr
/bin
/
48 $(INSTALL_DIR
) $(1)/etc
/init.d
49 $(INSTALL_BIN
) .
/files
/kplex.init
$(1)/etc
/init.d
/kplex
52 $(eval
$(call BuildPackage
,kplex
))