Mercurial > mxe-octave
annotate src/graphicsmagick.mk @ 3815:deed2268e330
pstoedit: cleanup wmf/emf patch
* src/pstoedit-4-winlibemf.patch: clean up patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 28 Feb 2015 14:44:57 -0500 |
parents | 6058fd18818d |
children | fa5b1ddfeb46 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2258
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. |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := graphicsmagick |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3586
6058fd18818d
graphicsmagick: update to 1.3.19
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
6 $(PKG)_VERSION := 1.3.19 |
6058fd18818d
graphicsmagick: update to 1.3.19
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
7 $(PKG)_CHECKSUM := 621c3e9a3b12e38dad225ee3466fd55a24c62066 |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := GraphicsMagick-$($(PKG)_VERSION) |
2698
ecda920960a0
package graphicsmagick: switch to xz archive
Mark Brand <mabrand@mabrand.nl>
parents:
2643
diff
changeset
|
9 $(PKG)_FILE := GraphicsMagick-$($(PKG)_VERSION).tar.xz |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3105
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
11 $(PKG)_DEPS := zlib bzip2 jpeg jasper lcms libpng tiff freetype libxml2 |
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
12 ifneq ($(MXE_SYSTEM),msvc) |
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
13 $(PKG)_DEPS += pthreads libtool |
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
14 endif |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2504
diff
changeset
|
17 $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \ |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 # This can be removed once the patch "graphicsmagick-1-fix-xml2-config.patch" is accepted by upstream |
2918
42b1909a6159
revert autoconf -> autoreconf change
John W. Eaton <jwe@octave.org>
parents:
2912
diff
changeset
|
24 cd '$(1)' && autoconf |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2912
990071494633
use libtool for building graphics magick libs; restore build of test program
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
27 $(ENABLE_SHARED_OR_STATIC) \ |
3024
15cbbf983fa0
Update graphicsmagick and pstoedit to use XME_CONFIGURE flags.
John Donoghue <john.donoghue@ieee.org>
parents:
3014
diff
changeset
|
28 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
29 --prefix='$(HOST_PREFIX)' \ |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --without-modules \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --with-threads \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --with-magick-plus-plus \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 --without-perl \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --with-bzlib \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 --without-dps \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 --without-fpx \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 --without-gslib \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 --without-jbig \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 --with-jpeg \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
40 --with-jp2 \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
41 --with-lcms \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 --with-png \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
43 --with-tiff \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
44 --without-trio \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
45 --with-ttf='$(HOST_PREFIX)' \ |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
46 --without-wmf \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
47 --with-xml \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
48 --with-zlib \ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
49 --without-x \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
50 ac_cv_prog_xml2_config='$(HOST_BINDIR)/xml2-config' \ |
3105
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
51 ac_cv_path_xml2_config='$(HOST_BINDIR)/xml2-config' \ |
728a29b93060
[MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
52 && $(CONFIGURE_POST_HOOK) |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
53 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3105
diff
changeset
|
54 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= DESTDIR='$(3)' |
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
55 endef |