Mercurial > mxe-octave
comparison src/glpk.mk @ 3708:d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 03 Sep 2014 19:00:40 -0400 |
parents | 3858aa1d5ef8 |
children | a4c8ef9f5c78 |
comparison
equal
deleted
inserted
replaced
3707:12aaa396be7c | 3708:d95b8b84cea7 |
---|---|
9 $(PKG)_FILE := glpk-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := glpk-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/glpk/$($(PKG)_FILE) | 10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/glpk/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package glpk.' >&2; | 14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/glpk/?C=M;O=D' | \ |
15 echo $(glpk_VERSION) | 15 $(SED) -n 's,.*<a href="glpk-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
16 head -1 | |
16 endef | 17 endef |
17 | 18 |
18 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
19 cd '$(1)' && aclocal && libtoolize && autoreconf | 20 cd '$(1)' && aclocal && libtoolize && autoreconf |
20 mkdir '$(1)/.build' | 21 mkdir '$(1)/.build' |