comparison src/pdflib_lite.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 d1569d04b337
comparison
equal deleted inserted replaced
2524:422cb29ca669 2525:4d0f3a9da57e
8 $(PKG)_FILE := PDFlib-Lite-$($(PKG)_VERSION).tar.gz 8 $(PKG)_FILE := PDFlib-Lite-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := http://www.pdflib.com/binaries/PDFlib/$(subst .,,$(word 1,$(subst p, ,$($(PKG)_VERSION))))/$($(PKG)_FILE) 9 $(PKG)_URL := http://www.pdflib.com/binaries/PDFlib/$(subst .,,$(word 1,$(subst p, ,$($(PKG)_VERSION))))/$($(PKG)_FILE)
10 $(PKG)_DEPS := gcc 10 $(PKG)_DEPS := gcc
11 11
12 define $(PKG)_UPDATE 12 define $(PKG)_UPDATE
13 wget -q -O- 'http://www.pdflib.com/download/free-software/pdflib-lite-7/' | \ 13 $(WGET) -q -O- 'http://www.pdflib.com/download/free-software/pdflib-lite-7/' | \
14 $(SED) -n 's,.*PDFlib-Lite-\([0-9][^>]*\)\.tar.*,\1,p' | \ 14 $(SED) -n 's,.*PDFlib-Lite-\([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