packages cfitsio lensfun: add update macros

This commit is contained in:
Tony Theodore 2013-03-24 14:27:21 +11:00
parent e08708a69f
commit 88c31662cb
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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