comparison src/pcre.mk @ 3048:5ef49fb3299d

treat gcc and binutils as build tools use a separate target for building the cmake toolchain file don't unpack gcc or binutils if we are using the system compiler
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jun 2013 16:51:29 -0400
parents b6c7244a2f66
children 79d8d9ae6d78
comparison
equal deleted inserted replaced
3047:e7b7b0f663d3 3048:5ef49fb3299d
6 $(PKG)_CHECKSUM := 1132276bb8bea7cb0662210fb812fbef7791621f 6 $(PKG)_CHECKSUM := 1132276bb8bea7cb0662210fb812fbef7791621f
7 $(PKG)_SUBDIR := pcre-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := pcre-$($(PKG)_VERSION)
8 $(PKG)_FILE := pcre-$($(PKG)_VERSION).tar.bz2 8 $(PKG)_FILE := pcre-$($(PKG)_VERSION).tar.bz2
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pcre/pcre/$($(PKG)_VERSION)/$($(PKG)_FILE) 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pcre/pcre/$($(PKG)_VERSION)/$($(PKG)_FILE)
10 $(PKG)_URL_2 := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$($(PKG)_FILE) 10 $(PKG)_URL_2 := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$($(PKG)_FILE)
11 $(PKG)_DEPS := gcc 11 $(PKG)_DEPS :=
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://sourceforge.net/projects/pcre/files/pcre/' | \ 14 $(WGET) -q -O- 'http://sourceforge.net/projects/pcre/files/pcre/' | \
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ 15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
16 head -1 16 head -1