aboutsummaryrefslogtreecommitdiff
path: root/deactivated/test-curl/Makefile
diff options
context:
space:
mode:
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))