Mercurial > mxe-octave
annotate src/curl.mk @ 6497:c5a38140ad2a
curl: update to v7.86.0
* src/curl.mk: update version, checksum
* src/curl-1-fixes.patch: new file
* dist-files.mk: add ref to new file
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 31 Oct 2022 14:18:41 -0400 |
parents | a40713af55df |
children | dc7335a5a446 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2297
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
274
diff
changeset
|
4 PKG := curl |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
432
diff
changeset
|
5 $(PKG)_IGNORE := |
6497
c5a38140ad2a
curl: update to v7.86.0
John Donoghue <john.donoghue@ieee.org>
parents:
6393
diff
changeset
|
6 $(PKG)_VERSION := 7.86.0 |
c5a38140ad2a
curl: update to v7.86.0
John Donoghue <john.donoghue@ieee.org>
parents:
6393
diff
changeset
|
7 $(PKG)_CHECKSUM := 289a3aaec47f98a52474cd34243d6b7f51f8e525 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
274
diff
changeset
|
8 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION) |
4445 | 9 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.xz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
274
diff
changeset
|
10 $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE) |
6048
36680ae529a9
* src/curl.mk: add libgsasl as a dependanciy of curl
John Donoghue <john.donoghue@ieee.org>
parents:
6035
diff
changeset
|
11 $(PKG)_DEPS := gnutls libgsasl libidn2 libssh2 pthreads |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
4248 | 13 $(PKG)_CONFIGURE_OPTS := |
14 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
5784
77037b02145a
* src/curl.mk: update to v7.77.0
John Donoghue <john.donoghue@ieee.org>
parents:
5737
diff
changeset
|
15 $(PKG)_CONFIGURE_OPTS := --with-schannel --with-default-ssl-backend=schannel |
4248 | 16 endif |
17 | |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
19 $(WGET) -q -O- 'http://curl.haxx.se/download/?C=M;O=D' | \ |
1453
050d1e842565
improved update script of package curl
Volker Grabsch <vog@notjusthosting.com>
parents:
1351
diff
changeset
|
20 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 head -1 |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 endef |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 define $(PKG)_BUILD |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
2997 | 26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2905
5a985098f4c9
fix shared lib build for curl
John W. Eaton <jwe@octave.org>
parents:
2881
diff
changeset
|
28 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
29 --prefix='$(HOST_PREFIX)' \ |
4248 | 30 $($(PKG)_CONFIGURE_OPTS) \ |
1454
e0507874b083
fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
1453
diff
changeset
|
31 --with-gnutls \ |
4370 | 32 --with-libidn2 \ |
2102 | 33 --enable-sspi \ |
2800 | 34 --enable-ipv6 \ |
3086
9b848bfe6f10
[MSVC] enable curl compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
35 --with-libssh2 && $(CONFIGURE_POST_HOOK) |
4302 | 36 $(MAKE) -C '$(1)' -j '$(JOBS)' DESTDIR='$(3)' $(MXE_DISABLE_DOCS) install |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 endef |