From 75680b1fa9d349387c898040f838c58bd20c53e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 1 Sep 2017 12:47:27 +0200 Subject: Add rmbt-client package --- rmbt-client/Makefile | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 rmbt-client/Makefile (limited to 'rmbt-client/Makefile') 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 + 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))) -- cgit v1.2.3