Mercurial > mxe-octave
annotate src/libmng.mk @ 4128:253ac032547a
Fix more problems with libmng recipe (bug #47712).
* src/libmng.mk: Remove unnecessary mkdir command in recipe. Call autoreconf
with --force option because the libmng archive file ships with an out-of-date
ltmain.sh which will not be replaced without --force.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Apr 2016 15:39:48 -0700 |
parents | 132ee4f1871b |
children | dc3eb553f5e9 |
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 := | |
4018 | 6 $(PKG)_VERSION := 2.0.3 |
7 $(PKG)_CHECKSUM := 0f141482ffcef6f8cd4413f945a59310ac2e49af | |
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 | |
4128
253ac032547a
Fix more problems with libmng recipe (bug #47712).
Rik <rik@octave.org>
parents:
4127
diff
changeset
|
20 cd '$(1)' && autoreconf --install --force |
4127
132ee4f1871b
Fix libmng compilation on fast computers with fast SSDs (bug #47712).
Rik <rik@octave.org>
parents:
4051
diff
changeset
|
21 cd '$(1)' && ./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)' \ |
4127
132ee4f1871b
Fix libmng compilation on fast computers with fast SSDs (bug #47712).
Rik <rik@octave.org>
parents:
4051
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
3128
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) |
4127
132ee4f1871b
Fix libmng compilation on fast computers with fast SSDs (bug #47712).
Rik <rik@octave.org>
parents:
4051
diff
changeset
|
27 $(MAKE) -C '$(1)' -j 1 |
4051 | 28 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' |
476 | 29 endef |