Mercurial > mxe-octave
comparison src/giflib.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 | 3688299d3f3e |
comparison
equal
deleted
inserted
replaced
3560:e14baae9ec8c | 3561:ae4193aad5fe |
---|---|
9 $(PKG)_FILE := giflib-$($(PKG)_VERSION).tar.bz2 | 9 $(PKG)_FILE := giflib-$($(PKG)_VERSION).tar.bz2 |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/giflib/giflib-5.x/$($(PKG)_FILE) | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/giflib/giflib-5.x/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://giflib.git.sourceforge.net/git/gitweb.cgi?p=giflib/giflib;a=tags' | \ | 14 $(WGET) -q -O- 'http://sourceforge.net/projects/giflib/files/giflib-5.x/' | \ |
15 grep '<a class="list name"' | \ | 15 grep '<a href.*giflib.*bz2/download' | \ |
16 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ | 16 $(SED) -n 's,.*giflib-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
17 grep -v alpha | \ | |
18 grep -v beta | \ | |
19 grep -v rc | \ | |
20 head -1 | 17 head -1 |
21 endef | 18 endef |
22 | 19 |
23 define $(PKG)_BUILD | 20 define $(PKG)_BUILD |
24 cd '$(1)' && ./configure \ | 21 cd '$(1)' && ./configure \ |