Mercurial > mxe-octave
annotate src/curl.mk @ 3243:150b79c3db88
Update curl to 7.32.0
* src/curl.mk: update checksum.
* index.html: update curl-version to 7.32.0
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 31 Aug 2013 16:30:34 -0400 |
parents | 9b848bfe6f10 |
children | d7805a58c442 |
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 := |
3243
150b79c3db88
Update curl to 7.32.0
John Donoghue <john.donoghue@ieee.org>
parents:
3086
diff
changeset
|
6 $(PKG)_CHECKSUM := 76e8df2dade75120b75134468d02114370ea592d |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
274
diff
changeset
|
7 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION) |
2799 | 8 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.lzma |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
274
diff
changeset
|
9 $(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
|
10 $(PKG)_DEPS := gnutls libidn libssh2 |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(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
|
14 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 head -1 |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 cd '$(1)' && ./configure \ |
2997 | 20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2905
5a985098f4c9
fix shared lib build for curl
John W. Eaton <jwe@octave.org>
parents:
2881
diff
changeset
|
22 $(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
|
23 --prefix='$(HOST_PREFIX)' \ |
1454
e0507874b083
fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
1453
diff
changeset
|
24 --with-gnutls \ |
e0507874b083
fix build scripts of packages: curl gnutls xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
1453
diff
changeset
|
25 --with-libidn \ |
2102 | 26 --enable-sspi \ |
2800 | 27 --enable-ipv6 \ |
3086
9b848bfe6f10
[MSVC] enable curl compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 --with-libssh2 && $(CONFIGURE_POST_HOOK) |
2100
1883a336e086
package curl: really keep curl.exe
Mark Brand <mabrand@mabrand.nl>
parents:
2099
diff
changeset
|
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
1455
94cdbe762889
test program for package curl
Volker Grabsch <vog@notjusthosting.com>
parents:
1454
diff
changeset
|
30 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
31 ## '$(MXE_CC)' \ |
2866
028eabbb0f76
Include curl as a dependency of Octave.
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
32 ## -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
33 ## '$(2).c' -o '$(HOST_BINDIR)/test-curl.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
34 ## `'$(MXE_PKG_CONFIG)' libcurl --cflags --libs` |
2866
028eabbb0f76
Include curl as a dependency of Octave.
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
35 |
147
f787c299f41c
translated package: curl
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 endef |