summaryrefslogtreecommitdiffstats
path: root/src/imagemagick.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2011-05-18 00:30:14 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2011-05-18 00:30:14 (GMT)
commit7e420abbe103d3dffac9f06b6c6ec71f9e33a18e (patch)
treea6456d8f579654734cdb8310e7550ec3de492a9b /src/imagemagick.mk
parentbcca2ab2694b37a4333cc388f2e9f1918fbcb212 (diff)
downloadmxe-7e420abbe103d3dffac9f06b6c6ec71f9e33a18e.zip
mxe-7e420abbe103d3dffac9f06b6c6ec71f9e33a18e.tar.gz
mxe-7e420abbe103d3dffac9f06b6c6ec71f9e33a18e.tar.bz2
improved version recognition of package imagemagick
Diffstat (limited to 'src/imagemagick.mk')
-rw-r--r--src/imagemagick.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imagemagick.mk b/src/imagemagick.mk
index dd7cdce..150f80e 100644
--- a/src/imagemagick.mk
+++ b/src/imagemagick.mk
@@ -13,8 +13,8 @@ $(PKG)_URL := http://ftp.nluug.nl/ImageMagick/$($(PKG)_FILE)
$(PKG)_DEPS := gcc bzip2 ffmpeg fftw freetype jasper jpeg lcms libpng libtool openexr pthreads tiff zlib
define $(PKG)_UPDATE
- wget -q -O- 'http://ftp.nluug.nl/ImageMagick/?C=M;O=D' | \
- $(SED) -n 's,.*<a href="ImageMagick-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ wget -q -O- 'http://www.imagemagick.org/' | \
+ $(SED) -n 's,.*<p>The current release is ImageMagick \([0-9][^<]*\).</p>.*,\1,p' | \
head -1
endef