blob: d56250c0b18e7a0427feafbaf0983d9c3a299c82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# ImageMagick
PKG := imagemagick
$(PKG)_IGNORE :=
$(PKG)_VERSION := 6.6.4-7
$(PKG)_CHECKSUM := 6405d62f60d5b9780ac90361984caf6b055c4a5c
$(PKG)_SUBDIR := ImageMagick-$($(PKG)_VERSION)
$(PKG)_FILE := ImageMagick-$($(PKG)_VERSION).tar.bz2
$(PKG)_WEBSITE := http://www.imagemagick.org/
$(PKG)_URL := http://ftp.nluug.nl/ImageMagick/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libtool lcms tiff freetype jasper jpeg libpng fftw bzip2 openexr zlib pthreads
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' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
--with-x=no
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS=
endef
|