annotate src/curl.mk @ 4563:36423e0c690c

curl: update to v7.57.0 * src/curl.mk: update version/checksum
author John D
date Thu, 30 Nov 2017 11:19:26 -0500
parents 2b68f2ac1b3a
children 58c8336d59d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
4563
36423e0c690c curl: update to v7.57.0
John D
parents: 4456
diff changeset
6 $(PKG)_VERSION := 7.57.0
36423e0c690c curl: update to v7.57.0
John D
parents: 4456
diff changeset
7 $(PKG)_CHECKSUM := 28b7e65760a04b8dd9733244f4f68143888139b8
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 274
diff changeset
8 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION)
4445
4b07307b3382 curl: update to 7.55.0
John D
parents: 4399
diff changeset
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)
4456
2b68f2ac1b3a curl: update to v7.55.1, add pthreads dependancy
John D
parents: 4445
diff changeset
11 $(PKG)_DEPS := gnutls libidn2 libssh2 pthreads
147
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
4248
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
13 $(PKG)_CONFIGURE_OPTS :=
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
14 ifeq ($(MXE_WINDOWS_BUILD),yes)
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
15 $(PKG)_CONFIGURE_OPTS := "--with-winssl"
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
16 endif
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
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
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2905
diff changeset
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
64063cd35eb2 curl: enable winssl if compiling for windows
John D
parents: 4207
diff changeset
30 $($(PKG)_CONFIGURE_OPTS) \
4207
8a01ad4817a1 curl: disable openssl check
John D
parents: 4167
diff changeset
31 --without-ssl \
1454
e0507874b083 fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 1453
diff changeset
32 --with-gnutls \
4370
56a84121d674 curl: update to 7.53.1
John D
parents: 4316
diff changeset
33 --with-libidn2 \
2102
57ec66c86927 package curl: enable sspi
Mark Brand <mabrand@mabrand.nl>
parents: 2100
diff changeset
34 --enable-sspi \
2800
2334fd921073 package curl: enable ipv6
Mark Brand <mabrand@mabrand.nl>
parents: 2799
diff changeset
35 --enable-ipv6 \
3086
9b848bfe6f10 [MSVC] enable curl compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
36 --with-libssh2 && $(CONFIGURE_POST_HOOK)
4302
3d168da55e47 disable instakll of docs
John D
parents: 4259
diff changeset
37 $(MAKE) -C '$(1)' -j '$(JOBS)' DESTDIR='$(3)' $(MXE_DISABLE_DOCS) install
147
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 endef