mirror of https://git.wownero.com/dsc/mxe.git
packages cfitsio lensfun: add update macros
This commit is contained in:
parent
e08708a69f
commit
88c31662cb
|
@ -10,8 +10,10 @@ $(PKG)_URL := http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/$($(PKG)_F
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
echo 'TODO: Updates for package cfitsio need to be fixed.' >&2;
|
||||
echo $(cfitsio_VERSION)
|
||||
$(WGET) -q -O- "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/?C=M;O=D" | \
|
||||
grep -i '<a href="cfitsio.*tar' | \
|
||||
$(SED) -n 's,.*cfitsio\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
|
@ -10,8 +10,10 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/lensfun.berlios/$($(PKG)
|
|||
$(PKG)_DEPS := gcc libpng glib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
echo 'TODO: Updates for package lensfun need to be fixed.' >&2;
|
||||
echo $(lensfun_VERSION)
|
||||
$(WGET) -q -O- "http://developer.berlios.de/project/showfiles.php?group_id=9034" | \
|
||||
grep -i 'lensfun.*tar' | \
|
||||
$(SED) -n 's,.*lensfun-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue