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
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
14 PKG_SOURCE_URL
:=http
://www.stripydog.com
/download
15 PKG_HASH
:=b507d85d5f1def40303326459268a6262d37ea5f13fb73b37b72854e53594dcc
18 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=NMEA-0183 multiplexer and router
29 URL
:=http
://www.stripydog.com
/kplex
/
32 define Package
/kplex
/description
33 Kplex is a program for combining and routing NMEA-0183 data to and from multiple
34 sources and destinations. kplex inputs and outputs may be any of Serial lines
,
35 Pseudo Terminals
(ptys
), Network Interfaces and Files.
38 define Package
/kplex
/conffiles
42 define Package
/kplex
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/kplex
$(1)/usr
/bin
/
45 $(INSTALL_DIR
) $(1)/etc
46 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/kplex.conf.ex
$(1)/etc
/kplex.conf
47 $(INSTALL_DIR
) $(1)/etc
/init.d
48 $(INSTALL_BIN
) .
/files
/kplex.init
$(1)/etc
/init.d
/kplex
51 $(eval
$(call BuildPackage
,kplex
))