aboutsummaryrefslogtreecommitdiff
path: root/deactivated/test-curl/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-02-16 13:44:36 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-02-16 13:44:36 +0100
commitc2adfd2f707be8f4fca0f0cbdd45802206141c18 (patch)
tree1067b7ac1baef2b74690bf0594e4437122e6bbcd /deactivated/test-curl/Makefile
parent9f0f3e1b06456f43bc02e00839238a664b4ee6fe (diff)
downloadturris-myrepo-c2adfd2f707be8f4fca0f0cbdd45802206141c18.tar.gz
turris-myrepo-c2adfd2f707be8f4fca0f0cbdd45802206141c18.tar.bz2
turris-myrepo-c2adfd2f707be8f4fca0f0cbdd45802206141c18.zip
Deactivate curl-test
Diffstat (limited to 'deactivated/test-curl/Makefile')
-rw-r--r--deactivated/test-curl/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/deactivated/test-curl/Makefile b/deactivated/test-curl/Makefile
new file mode 100644
index 0000000..2eecc19
--- /dev/null
+++ b/deactivated/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))