annotate src/curl.mk @ 4134:d2c64bb12b58

curl: update to 7.48.0 * src/curl.mk: update version, checksum
author John Donoghue
date Tue, 03 May 2016 12:45:48 -0400
parents 723ac21042ae
children 892b4258cb8b
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 :=
4134
d2c64bb12b58 curl: update to 7.48.0
John Donoghue
parents: 4047
diff changeset
6 $(PKG)_VERSION := 7.48.0
d2c64bb12b58 curl: update to 7.48.0
John Donoghue
parents: 4047
diff changeset
7 $(PKG)_CHECKSUM := 38bb905e47c534993a40fa564a8833d806613650
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 274
diff changeset
8 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION)
2799
7d4c8f2179f6 update package curl
Mark Brand <mabrand@mabrand.nl>
parents: 2683
diff changeset
9 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.lzma
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)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := gnutls libidn libssh2
147
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(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
15 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \
147
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2905
diff changeset
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2905
5a985098f4c9 fix shared lib build for curl
John W. Eaton <jwe@octave.org>
parents: 2881
diff changeset
23 $(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
24 --prefix='$(HOST_PREFIX)' \
1454
e0507874b083 fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 1453
diff changeset
25 --with-gnutls \
e0507874b083 fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 1453
diff changeset
26 --with-libidn \
2102
57ec66c86927 package curl: enable sspi
Mark Brand <mabrand@mabrand.nl>
parents: 2100
diff changeset
27 --enable-sspi \
2800
2334fd921073 package curl: enable ipv6
Mark Brand <mabrand@mabrand.nl>
parents: 2799
diff changeset
28 --enable-ipv6 \
3086
9b848bfe6f10 [MSVC] enable curl compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
29 --with-libssh2 && $(CONFIGURE_POST_HOOK)
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3268
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' DESTDIR='$(3)' install
1455
94cdbe762889 test program for package curl
Volker Grabsch <vog@notjusthosting.com>
parents: 1454
diff changeset
31
147
f787c299f41c translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef