From 594caeb275f5c15f57b5178165c1e9ec6a67fa44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 26 Jan 2017 15:26:33 +0100 Subject: Temporally save curl testing application until new curl fixes it --- test-curl/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 test-curl/Makefile (limited to 'test-curl/Makefile') diff --git a/test-curl/Makefile b/test-curl/Makefile new file mode 100644 index 0000000..2eecc19 --- /dev/null +++ b/test-curl/Makefile @@ -0,0 +1,34 @@ +# +## Copyright (C) 2016 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:=test-curl +PKG_VERSION:=11 +PKG_RELEASE:=1 +PKG_MAINTAINER:=Karel Koci +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/test-curl + TITLE:=test-curl + DEPENDS:=+libcurl +libevent2 +endef + +define Build/Compile + cp -rf ./test $(PKG_BUILD_DIR)/ + cd $(PKG_BUILD_DIR)/test && ./configure + $(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR)/test $(MAKE_FLAGS) +endef + +define Package/test-curl/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/test/test $(1)/usr/bin/test-curl +endef + +$(eval $(call BuildPackage,test-curl)) -- cgit v1.2.3