Mercurial > mxe-octave
annotate src/gsoap.mk @ 3409:5e77c5fc91ed
qt: build translations in cross build and install
* src/qt.mk: in cross compile configure options, set translate path and -make option.
* makeinst-script.sh: Add createion and removal of libexec\octave\octave-version\qt.conf
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 10 Jan 2014 21:22:39 -0500 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2249
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. |
662 | 3 |
4 PKG := gsoap | |
5 $(PKG)_IGNORE := | |
2822 | 6 $(PKG)_CHECKSUM := b1c17d501361939c6d419eeb2aa26e7fd2b586fe |
664
40b94e85013a
bugfix: don't hardcode the version number in the download URL, etc. of package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents:
663
diff
changeset
|
7 $(PKG)_SUBDIR := gsoap-$(call SHORT_PKG_VERSION,$(PKG)) |
847
c8ec26fa314d
upgrade package gsoap to 2.7.16
Mark Brand <mabrand@mabrand.nl>
parents:
714
diff
changeset
|
8 $(PKG)_FILE := gsoap_$($(PKG)_VERSION).zip |
949 | 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gsoap2/gSOAP/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
10 $(PKG)_DEPS := gnutls libgcrypt libntlm |
662 | 11 |
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://sourceforge.net/projects/gsoap2/files/gSOAP/' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1176
diff
changeset
|
14 $(SED) -n 's,.*gsoap_\([0-9][^>]*\)\.zip.*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1176
diff
changeset
|
15 head -1 |
662 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
2702 | 19 # avoid reconfiguration |
20 cd '$(1)' && touch configure config.h.in | |
21 | |
662 | 22 # Native build to get tools wsdl2h and soapcpp2 |
1169
9ca7f1fa7c9b
improvements for package gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
1165
diff
changeset
|
23 cd '$(1)' && ./configure |
662 | 24 |
2175
2bbf834b331d
package gsoap: workaround for parallel building
Mark Brand <mabrand@mabrand.nl>
parents:
2174
diff
changeset
|
25 # Work around parallel build problem |
2bbf834b331d
package gsoap: workaround for parallel building
Mark Brand <mabrand@mabrand.nl>
parents:
2174
diff
changeset
|
26 $(MAKE) -C '$(1)'/gsoap/src -j '$(JOBS)' soapcpp2_yacc.h |
2bbf834b331d
package gsoap: workaround for parallel building
Mark Brand <mabrand@mabrand.nl>
parents:
2174
diff
changeset
|
27 $(MAKE) -C '$(1)'/gsoap -j '$(JOBS)' |
662 | 28 |
29 # Install the native tools manually | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
30 $(INSTALL) -m755 '$(1)'/gsoap/wsdl/wsdl2h '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)wsdl2h' |
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
31 $(INSTALL) -m755 '$(1)'/gsoap/src/soapcpp2 '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)soapcpp2' |
662 | 32 |
33 $(MAKE) -C '$(1)' -j '$(JOBS)' clean | |
34 | |
1953 | 35 # fix hard-coded gnutls dependencies |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
36 $(SED) -i "s/-lgnutls/`'$(MXE_PKG_CONFIG)' --libs-only-l gnutls`/g;" '$(1)/configure' |
1836
621a6afbfbee
wine fix for package gsoap
Martin Lambers <marlam@marlam.de>
parents:
1754
diff
changeset
|
37 |
662 | 38 # Build for mingw. Static by default. |
39 # Prevent undefined reference to _rpl_malloc. | |
40 # http://groups.google.com/group/ikarus-users/browse_thread/thread/fd1d101eac32633f | |
663
21e0d95330cf
small cleanups for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents:
662
diff
changeset
|
41 cd '$(1)' && ac_cv_func_malloc_0_nonnull=yes ./configure \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
3006
diff
changeset
|
42 --prefix='$(HOST_PREFIX)' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
43 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2080
dd2ac0a72169
package gsoap: upgrade to v2.8.4 with fix
Mark Brand <mabrand@mabrand.nl>
parents:
2079
diff
changeset
|
44 --enable-gnutls \ |
dd2ac0a72169
package gsoap: upgrade to v2.8.4 with fix
Mark Brand <mabrand@mabrand.nl>
parents:
2079
diff
changeset
|
45 CPPFLAGS='-DWITH_NTLM' |
663
21e0d95330cf
small cleanups for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents:
662
diff
changeset
|
46 |
662 | 47 # Building for mingw requires native soapcpp2 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
48 $(LN_SF) '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)soapcpp2' '$(1)/gsoap/src/soapcpp2' |
662 | 49 |
2175
2bbf834b331d
package gsoap: workaround for parallel building
Mark Brand <mabrand@mabrand.nl>
parents:
2174
diff
changeset
|
50 # Work around parallel build problem |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
51 $(MAKE) -C '$(1)'/gsoap/src -j '$(JOBS)' soapcpp2_yacc.h AR='$(MXE_AR)' |
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
52 $(MAKE) -C '$(1)' -j '$(JOBS)' AR='$(MXE_AR)' |
662 | 53 |
2175
2bbf834b331d
package gsoap: workaround for parallel building
Mark Brand <mabrand@mabrand.nl>
parents:
2174
diff
changeset
|
54 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
662 | 55 # Apparently there is a tradition of compiling gsoap source files into applications. |
56 # Since we linked dom.cpp and dom.c into the libraries, this should not be necessary. | |
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2249
diff
changeset
|
57 # But we bend to tradition and install these sources into MXE. |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
3006
diff
changeset
|
58 $(INSTALL) -m644 '$(1)/gsoap/'*.c '$(1)/gsoap/'*.cpp '$(HOST_PREFIX)/share/gsoap' |
662 | 59 endef |