aboutsummaryrefslogtreecommitdiff
path: root/rmbt-client/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-09-01 12:47:27 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-09-01 12:47:27 +0200
commit75680b1fa9d349387c898040f838c58bd20c53e4 (patch)
treed8f293d137dd66604032f0bc641ab882f2660a85 /rmbt-client/Makefile
parentf030f0062a806dcbeae8c38bdf4c813f1feb05fb (diff)
downloadturris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.tar.gz
turris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.tar.bz2
turris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.zip
Add rmbt-client package
Diffstat (limited to 'rmbt-client/Makefile')
-rw-r--r--rmbt-client/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/rmbt-client/Makefile b/rmbt-client/Makefile
new file mode 100644
index 0000000..0b4740d
--- /dev/null
+++ b/rmbt-client/Makefile
@@ -0,0 +1,51 @@
+#
+## Copyright (C) 2016-2017 CZ.NIC z.s.p.o. (http://www.nic.cz/)
+#
+## This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+# #
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=rmbt-client
+PKG_VERSION:=1.0
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/lwimmer/rmbt-client.git
+PKG_SOURCE:=$(PKG_NAME).tar.gz
+PKG_SOURCE_VERSION:=cd544e53c24c35ea36211bf95dc7983a5c7f6a9f
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+PKG_FIXUP:=autoreconf
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/$(PKG_NAME)
+ TITLE:=RMBT speed measurement client in C
+ MAINTAINER:=CZ.NIC <packaging@turris.cz>
+ DEPENDS:=+libuuid +openssl +libjson-c
+endef
+define Package/$(PKG_NAME)/description
+ Desc
+endef
+
+define Package/$(PKG_NAME)/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rmbt $(1)/usr/bin/rmbt-client
+endef
+
+#define Package/$(PKG_NAME)/conffiles
+#endef
+
+#define Package/$(PKG_NAME)/postinst
+##!/bin/sh
+#[ -n "$$IPKG_INSTROOT" ] || {
+#/etc/init.d/updater enable || true
+## Run the uci-defaults now if we are installed at runtime and not flashed
+#/etc/uci-defaults/updater && rm /etc/uci-defaults/updater
+#}
+#endef
+
+$(eval $(call BuildPackage,$(PKG_NAME)))