annotate src/imagemagick.mk @ 2988:aca8511e7751

qt.mk: link to correct files in bin directory
author John W. Eaton <jwe@octave.org>
date Thu, 16 May 2013 13:32:57 -0400
parents 47558e958113
children 100e618349f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2226
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := imagemagick
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
1990
a5e9e90cf187 update packages exiv2 gnutls imagemagick x264
Mark Brand <mabrand@mabrand.nl>
parents: 1985
diff changeset
6 $(PKG)_CHECKSUM := 13198d502e95abb305c23c3d56378e9139fcb7c3
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := ImageMagick-$($(PKG)_VERSION)
1880
94df9b4e71ae upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
Mark Brand <mabrand@mabrand.nl>
parents: 1826
diff changeset
8 $(PKG)_FILE := ImageMagick-$($(PKG)_VERSION).tar.xz
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://ftp.nluug.nl/ImageMagick/$($(PKG)_FILE)
2226
5edcb1f916a9 package imagemagick: build without zlib 1.2.6 due to incompatibility
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
10 $(PKG)_DEPS := gcc bzip2 ffmpeg fftw freetype jasper jpeg lcms libpng libtool openexr pthreads tiff
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://www.imagemagick.org/' | \
1824
f157b0ae33f6 improved version recognition of package imagemagick
Volker Grabsch <vog@notjusthosting.com>
parents: 1810
diff changeset
14 $(SED) -n 's,.*<p>The current release is ImageMagick \([0-9][^<]*\).</p>.*,\1,p' | \
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
21 --build="`config.guess`" \
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
1304
49c8386a1326 bugfix for package imagemagick: use cross freetype-config
Tony Theodore <tonyt@logyst.com>
parents: 1302
diff changeset
24 --with-x=no \
2226
5edcb1f916a9 package imagemagick: build without zlib 1.2.6 due to incompatibility
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
25 --without-zlib \
1304
49c8386a1326 bugfix for package imagemagick: use cross freetype-config
Tony Theodore <tonyt@logyst.com>
parents: 1302
diff changeset
26 ac_cv_prog_freetype_config='$(PREFIX)/$(TARGET)/bin/freetype-config'
2226
5edcb1f916a9 package imagemagick: build without zlib 1.2.6 due to incompatibility
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
27 $(SED) -i 's/#define MAGICKCORE_ZLIB_DELEGATE 1//g' '$(1)/magick/magick-config.h'
1086
b91ec7149850 avoid trouble with parallel builds in package imagemagick
Volker Grabsch <vog@notjusthosting.com>
parents: 1085
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS=
b91ec7149850 avoid trouble with parallel builds in package imagemagick
Volker Grabsch <vog@notjusthosting.com>
parents: 1085
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS=
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef