Mercurial > mxe-octave
comparison src/curl.mk @ 2546:2267a00acc19
update package curl
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 24 May 2012 20:58:23 +0200 |
parents | 4d0f3a9da57e |
children | 3560c106bb41 |
comparison
equal
deleted
inserted
replaced
2545:ae5b25885cc2 | 2546:2267a00acc19 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := curl | 4 PKG := curl |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := f6016a24051d98806ca3ddf754592701cb66e00c | 6 $(PKG)_CHECKSUM := c2e62eaace2407d377bf544d1f808aea6dddf64c |
7 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := curl-$($(PKG)_VERSION) |
8 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.bz2 | 8 $(PKG)_FILE := curl-$($(PKG)_VERSION).tar.bz2 |
9 $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE) | 9 $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc gnutls libidn libssh2 | 10 $(PKG)_DEPS := gcc gnutls libidn libssh2 |
11 | 11 |
14 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \ | 14 $(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
15 head -1 | 15 head -1 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 cd '$(1)' && ./buildconf | |
20 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | 20 --host='$(TARGET)' \ |
22 --build="`config.guess`" \ | 21 --build="`config.guess`" \ |
23 --disable-shared \ | 22 --disable-shared \ |
24 --prefix='$(PREFIX)/$(TARGET)' \ | 23 --prefix='$(PREFIX)/$(TARGET)' \ |