Mercurial > mxe-octave
annotate src/libmng.mk @ 3908:5863c4ed08b1
of-dicom: patch to compile in octave 4.0.0 (Bug #44624)
* src/of-dicom-1-fixes.patch: new file
* dist-files.mk: add of-dicom-1-fixes.patch
* src/of-dicom.mk: allow cross compile
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 15 Apr 2015 21:52:37 -0400 |
parents | 13be64f9f16d |
children | 565bc6a7bb99 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2074
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. |
476 | 3 |
4 PKG := libmng | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3296
diff
changeset
|
6 $(PKG)_VERSION := 2.0.2 |
3265 | 7 $(PKG)_CHECKSUM := 7dd35369ff5916e1823cbacef984ab1b87714b69 |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1362
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
3265 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1362
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)-devel/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3265 | 11 $(PKG)_DEPS := zlib jpeg lcms |
476 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/libmng/files/libmng-devel/' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1362
diff
changeset
|
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1362
diff
changeset
|
16 head -1 |
476 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
2925
b17c700b7405
shared libraries for libmng
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
20 mkdir '$(1)/.build' |
3265 | 21 cd '$(1)' && autoreconf --install && ./configure \ |
2997 | 22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
3128
9e26e3930422
libmng.mk: use ENABLE_SHARED_OR_STATIC, remove lcms deps for MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3107
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
9e26e3930422
libmng.mk: use ENABLE_SHARED_OR_STATIC, remove lcms deps for MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3107
diff
changeset
|
26 && $(CONFIGURE_POST_HOOK) |
3296
8f0877237c55
[MSVC] Update to newer libmng.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3265
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' |
476 | 28 endef |