diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-03-13 06:31:04 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-03-18 11:16:07 (GMT) |
commit | 905112d088356bb73941f5d02843f3ea22c282d1 (patch) | |
tree | 6976ab667924151acc30258707af2df0f4043a63 /src/vigra.mk | |
parent | b4161379ee5c572d84c74e848999cbd5bae89f30 (diff) | |
download | mxe-905112d088356bb73941f5d02843f3ea22c282d1.zip mxe-905112d088356bb73941f5d02843f3ea22c282d1.tar.gz mxe-905112d088356bb73941f5d02843f3ea22c282d1.tar.bz2 |
github: add version separator logic and use in vigra
Diffstat (limited to 'src/vigra.mk')
-rw-r--r-- | src/vigra.mk | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/vigra.mk b/src/vigra.mk index e8c1b08..36101ef 100644 --- a/src/vigra.mk +++ b/src/vigra.mk @@ -5,20 +5,9 @@ $(PKG)_WEBSITE := https://ukoethe.github.io/vigra/ $(PKG)_IGNORE := $(PKG)_VERSION := 1.9.0 $(PKG)_CHECKSUM := dc041f7ccf838d4321e9bcf522fece1758768dd7a3f8350d1e83e2b8e6daf1e6 -$(PKG)_SUBDIR := vigra-Version-$(subst .,-,$($(PKG)_VERSION)) -$(PKG)_FILE := vigra-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://github.com/ukoethe/vigra/archive/Version-$(subst .,-,$($(PKG)_VERSION)).tar.gz +$(PKG)_GH_CONF := ukoethe/vigra, Version-,,vigra\|start\|ilastik,- $(PKG)_DEPS := gcc jpeg libpng openexr tiff -define $(PKG)_UPDATE - $(WGET) -q -O- "https://api.github.com/repos/ukoethe/vigra/releases" | \ - grep 'tag_name' | \ - $(SED) -n 's,.*tag_name": "Version-\([0-9][^>]*\)".*,\1,p' | \ - tr '-' '.' | \ - $(SORT) -Vr | \ - head -1 -endef - define $(PKG)_BUILD # Make sure the package gets built statically # NB: we're not actually building vigranumpy, but preparing it in case we ever will won't hurt |