comparison src/armadillo.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 951da75fd09c
children 13be64f9f16d
comparison
equal deleted inserted replaced
3047:e7b7b0f663d3 3048:5ef49fb3299d
6 $(PKG)_IGNORE := 6 $(PKG)_IGNORE :=
7 $(PKG)_CHECKSUM := e293a56695e7447cf5caa395932f1f0d41e13ffc 7 $(PKG)_CHECKSUM := e293a56695e7447cf5caa395932f1f0d41e13ffc
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/arma/$($(PKG)_FILE) 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/arma/$($(PKG)_FILE)
11 $(PKG)_DEPS := gcc boost blas lapack 11 $(PKG)_DEPS := boost blas lapack
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://sourceforge.net/projects/arma/files/' | \ 14 $(WGET) -q -O- 'http://sourceforge.net/projects/arma/files/' | \
15 $(SED) -n 's,.*/armadillo-\([0-9.]*\)[.]tar.*".*,\1,p' | \ 15 $(SED) -n 's,.*/armadillo-\([0-9.]*\)[.]tar.*".*,\1,p' | \
16 head -1 16 head -1