Mercurial > mxe-octave
comparison src/jasper.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
children | 47558e958113 |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
8 $(PKG)_FILE := jasper-$($(PKG)_VERSION).zip | 8 $(PKG)_FILE := jasper-$($(PKG)_VERSION).zip |
9 $(PKG)_URL := http://www.ece.uvic.ca/~mdadams/jasper/software/$($(PKG)_FILE) | 9 $(PKG)_URL := http://www.ece.uvic.ca/~mdadams/jasper/software/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc jpeg | 10 $(PKG)_DEPS := gcc jpeg |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 wget -q -O- 'http://www.ece.uvic.ca/~mdadams/jasper/' | \ | 13 $(WGET) -q -O- 'http://www.ece.uvic.ca/~mdadams/jasper/' | \ |
14 grep 'jasper-' | \ | 14 grep 'jasper-' | \ |
15 $(SED) -n 's,.*jasper-\([0-9][^>]*\)\.zip.*,\1,p' | \ | 15 $(SED) -n 's,.*jasper-\([0-9][^>]*\)\.zip.*,\1,p' | \ |
16 head -1 | 16 head -1 |
17 endef | 17 endef |
18 | 18 |