annotate src/imagemagick.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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.
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
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 # ImageMagick
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := imagemagick
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1990
a5e9e90cf187 update packages exiv2 gnutls imagemagick x264
Mark Brand <mabrand@mabrand.nl>
parents: 1985
diff changeset
7 $(PKG)_CHECKSUM := 13198d502e95abb305c23c3d56378e9139fcb7c3
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(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
9 $(PKG)_FILE := ImageMagick-$($(PKG)_VERSION).tar.xz
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(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
11 $(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
12
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
1824
f157b0ae33f6 improved version recognition of package imagemagick
Volker Grabsch <vog@notjusthosting.com>
parents: 1810
diff changeset
14 wget -q -O- 'http://www.imagemagick.org/' | \
f157b0ae33f6 improved version recognition of package imagemagick
Volker Grabsch <vog@notjusthosting.com>
parents: 1810
diff changeset
15 $(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
16 head -1
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
22 --build="`config.guess`" \
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
1304
49c8386a1326 bugfix for package imagemagick: use cross freetype-config
Tony Theodore <tonyt@logyst.com>
parents: 1302
diff changeset
25 --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
26 --without-zlib \
1304
49c8386a1326 bugfix for package imagemagick: use cross freetype-config
Tony Theodore <tonyt@logyst.com>
parents: 1302
diff changeset
27 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
28 $(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
29 $(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
30 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS=
1084
518a0afe867e new package: imagemagick (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef