---
 rules/rtklib-demo5.in   | 23 ++++++++++++++++
 rules/rtklib-demo5.make | 58 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)
 create mode 100644 rules/rtklib-demo5.in
 create mode 100644 rules/rtklib-demo5.make

diff --git a/rules/rtklib-demo5.in b/rules/rtklib-demo5.in
new file mode 100644
index 000000000..61b69c58c
--- /dev/null
+++ b/rules/rtklib-demo5.in
@@ -0,0 +1,23 @@
+## SECTION=system_libraries
+
+config RTKLIB_DEMO5
+       tristate
+       select QT5
+       prompt "rtklib-demo5"
+       help
+         RTKLIB Demo5 is an open source version of RTKLIB optimized for
+         low cost receivers and for practical use.
+         It includes additional solution features to deal with the
+         sometimes very challenging measurements from lower cost
+         receivers and is also optimized to work with
+         multi-constellation solutions.
+         This is a good choice for those interested in learning more
+         about GNSS technologies.
+         It is also a solid solution for almost any real-time or
+         post-processing high precision positioning needs.
+
+         This package contains the library only.
+
+         https://rtkexplorer.com
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/rtklib-demo5.make b/rules/rtklib-demo5.make
new file mode 100644
index 000000000..3f0d1fd7e
--- /dev/null
+++ b/rules/rtklib-demo5.make
@@ -0,0 +1,58 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Alexander Dahl <[email protected]>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_RTKLIB_DEMO5) += rtklib-demo5
+
+#
+# Paths and names
+#
+RTKLIB_DEMO5_VERSION   := b34h
+RTKLIB_DEMO5_MD5       := 404e8e0c98471358d203a5ab2e830098
+RTKLIB_DEMO5           := rtklib-demo5-$(RTKLIB_DEMO5_VERSION)
+# release asset "demo5_b34h.zip" did not allow clean extract
+RTKLIB_DEMO5_SUFFIX    := tar.gz
+RTKLIB_DEMO5_URL       := 
https://github.com/rtklibexplorer/RTKLIB/archive/refs/tags/$(RTKLIB_DEMO5_VERSION).$(RTKLIB_DEMO5_SUFFIX)
+RTKLIB_DEMO5_SOURCE    := $(SRCDIR)/$(RTKLIB_DEMO5).$(RTKLIB_DEMO5_SUFFIX)
+RTKLIB_DEMO5_DIR       := $(BUILDDIR)/$(RTKLIB_DEMO5)
+RTKLIB_DEMO5_SUBDIR    := src
+RTKLIB_DEMO5_LICENSE   := BSD-2-Clause
+RTKLIB_DEMO5_LICENSE_FILES := 
file://license.txt;md5=0a9df7c41dafcfa98b6372cd36eae07b
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+RTKLIB_DEMO5_CONF_TOOL := qmake
+# ptxdist should pass this -spec option on its own
+RTKLIB_DEMO5_CONF_OPT  :=  \
+       $(CROSS_QMAKE_OPT) \
+       -spec "$(PTXDIST_SYSROOT_TARGET)/usr/lib/qt5/mkspecs/linux-ptx-g++"
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/rtklib-demo5.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, rtklib-demo5)
+       @$(call install_fixup, rtklib-demo5,PRIORITY,optional)
+       @$(call install_fixup, rtklib-demo5,SECTION,base)
+       @$(call install_fixup, rtklib-demo5,AUTHOR,"Alexander Dahl 
<[email protected]>")
+       @$(call install_fixup, rtklib-demo5,DESCRIPTION,missing)
+
+       @$(call install_lib, rtklib-demo5, 0, 0, 0644, libRTKLib)
+
+       @$(call install_finish, rtklib-demo5)
+
+       @$(call touch)
+
+# vim: ft=make noet tw=72 ts=8 sw=8
-- 
2.30.2


Reply via email to