diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-01-26 15:26:33 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-01-26 15:26:33 +0100 |
commit | 594caeb275f5c15f57b5178165c1e9ec6a67fa44 (patch) | |
tree | 8df93aafea510a707f972bb4de45c2b9054666d0 /test-curl/Makefile | |
parent | 1e506098990a0711e30537438a07abe15131942b (diff) | |
download | turris-myrepo-594caeb275f5c15f57b5178165c1e9ec6a67fa44.tar.gz turris-myrepo-594caeb275f5c15f57b5178165c1e9ec6a67fa44.tar.bz2 turris-myrepo-594caeb275f5c15f57b5178165c1e9ec6a67fa44.zip |
Temporally save curl testing application until new curl fixes it
Diffstat (limited to 'test-curl/Makefile')
-rw-r--r-- | test-curl/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
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)) |