package poppler: fix update macro

This commit is contained in:
Mark Brand 2013-10-05 19:56:28 +02:00
parent 926f4baca0
commit b8a16754fb
1 changed files with 2 additions and 2 deletions

View File

@ -6,13 +6,13 @@ $(PKG)_IGNORE :=
$(PKG)_VERSION := 0.22.5
$(PKG)_CHECKSUM := 9491bb33788d7f0ee67da572dc4798004f98323a
$(PKG)_SUBDIR := poppler-$($(PKG)_VERSION)
$(PKG)_FILE := poppler-$($(PKG)_VERSION).tar.gz
$(PKG)_FILE := poppler-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://poppler.freedesktop.org/$($(PKG)_FILE)
$(PKG)_DEPS := gcc glib cairo libpng lcms jpeg tiff freetype zlib curl qt
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://poppler.freedesktop.org/' | \
$(SED) -n 's,.*"poppler-\([0-9.]\+\)\.tar\.gz".*,\1,p' | \
$(SED) -n 's,.*"poppler-\([0-9.]\+\)\.tar\.xz".*,\1,p' | \
head -1
endef