include Config
-VER = 7.40.0
+VER = 7.59.0
THISAPP = curl-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 58943642ea0ed050ab0431ea1caf3a6f
+$(DL_FILE)_MD5 = a44f98c25c7506e7103039b542aa5ad8
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-ipv6
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --disable-ipv6 \
+ --disable-static \
+ --enable-threaded-resolver \
+ --with-ca-bundle=/etc/ssl/certs/ca-bundle.crt
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
- # Create symlink to new curl lib for old binaries
- ln -sf libcurl.so.4 /usr/lib/libcurl.so.3
@rm -rf $(DIR_APP)
@$(POSTBUILD)