Mercurial > mxe-octave
comparison src/vigra.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 | d862fd40cc42 |
comparison
equal
deleted
inserted
replaced
3560:e14baae9ec8c | 3561:ae4193aad5fe |
---|---|
9 $(PKG)_FILE := vigra-$($(PKG)_VERSION)-src.tar.gz | 9 $(PKG)_FILE := vigra-$($(PKG)_VERSION)-src.tar.gz |
10 $(PKG)_URL := http://hci.iwr.uni-heidelberg.de/vigra/$($(PKG)_FILE) | 10 $(PKG)_URL := http://hci.iwr.uni-heidelberg.de/vigra/$($(PKG)_FILE) |
11 $(PKG)_DEPS := jpeg tiff libpng openexr | 11 $(PKG)_DEPS := jpeg tiff libpng openexr |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://hci.iwr.uni-heidelberg.de/vigra/' | \ | 14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
15 grep 'Sources' | \ | 15 echo $($(PKG)_VERSION) |
16 grep '<a href="vigra' | \ | |
17 $(SED) -n 's,.*"vigra-\([0-9][^"]*\)-src.*,\1,p' | \ | |
18 head | |
19 endef | 16 endef |
20 | 17 |
21 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
22 # Make sure the package gets built statically | 19 # Make sure the package gets built statically |
23 # NB: we're not actually building vigranumpy, but preparing it in case we ever will won't hurt | 20 # NB: we're not actually building vigranumpy, but preparing it in case we ever will won't hurt |