39 lines · 1.5 KB · Text
RawDownload
# This file is part of MXE. See LICENSE.md for licensing information. PKG             := curl$(PKG)_WEBSITE  := https://curl.haxx.se/libcurl/$(PKG)_DESCR    := cURL$(PKG)_IGNORE   :=$(PKG)_VERSION  := 8.15.0$(PKG)_CHECKSUM := 6cd0a8a5b126ddfda61c94dc2c3fc53481ba7a35461cf7c5ab66aa9d6775b609$(PKG)_SUBDIR   := curl-$($(PKG)_VERSION)$(PKG)_FILE     := curl-$($(PKG)_VERSION).tar.xz$(PKG)_URL      := https://curl.haxx.se/download/$($(PKG)_FILE)$(PKG)_DEPS     := cc brotli libidn2 libpsl libssh2 nghttp2 pthreads zstd define $(PKG)_UPDATE    $(WGET) -q -O- 'https://curl.haxx.se/download/?C=M;O=D' | \    $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \    head -1endef define $(PKG)_BUILD    cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \        $(MXE_CONFIGURE_OPTS) \        --with-schannel \        --with-libidn2 \        --enable-sspi \        --enable-ipv6 \        --with-libssh2 \        --with-nghttp2 \        CPPFLAGS="`'$(TARGET)-pkg-config' libnghttp2 --cflags`" \        LIBS="`'$(TARGET)-pkg-config' libpsl libbrotlidec pthreads --libs`"    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)    $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)    ln -sf '$(PREFIX)/$(TARGET)/bin/curl-config' '$(PREFIX)/bin/$(TARGET)-curl-config'     '$(TARGET)-gcc' \        -W -Wall -Werror -ansi -pedantic \        '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-curl.exe' \        `'$(TARGET)-pkg-config' libcurl --cflags --libs`endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t