comparison src/wt.mk @ 3561:ae4193aad5fe

revise and enable more $(PKG)_UPDATE rules
author John W. Eaton <jwe@octave.org>
date Sat, 08 Mar 2014 17:40:00 -0500
parents 13be64f9f16d
children de2eedecd6ba
comparison
equal deleted inserted replaced
3560:e14baae9ec8c 3561:ae4193aad5fe
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/witty/$($(PKG)_FILE) 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/witty/$($(PKG)_FILE)
11 $(PKG)_DEPS := boost openssl libharu graphicsmagick pango postgresql sqlite 11 $(PKG)_DEPS := boost openssl libharu graphicsmagick pango postgresql sqlite
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://sourceforge.net/projects/witty/files/witty/' | \ 14 $(WGET) -q -O- 'http://sourceforge.net/projects/witty/files/wt/' | \
15 $(SED) -n 's,.*wt-\([0-9][^>]*\)\.tar.*,\1,p' | \ 15 $(SED) -n 's,.*<a href="/projects/witty/files/wt/\([0-9][^>]*\)/.*,\1,p' | \
16 tail -1 16 head -1
17 endef 17 endef
18 18
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 # build wt libraries 20 # build wt libraries
21 mkdir '$(1).build' 21 mkdir '$(1).build'