annotate src/gsoap.mk @ 1165:44c4736fd51f

upgrade package gsoap
author Mark Brand <mabrand@mabrand.nl>
date Mon, 20 Sep 2010 01:24:03 +0200
parents 405738cf5761
children 9ca7f1fa7c9b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 709
diff changeset
2 # See doc/index.html for further information.
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 # gSOAP
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
5 PKG := gsoap
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1165
44c4736fd51f upgrade package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 1120
diff changeset
7 $(PKG)_VERSION := 2.8.0
44c4736fd51f upgrade package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 1120
diff changeset
8 $(PKG)_CHECKSUM := 516559068a61a47b438852f8cb7ad15a4b26c162
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
9 $(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
10 $(PKG)_FILE := gsoap_$($(PKG)_VERSION).zip
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://gsoap2.sourceforge.net/
949
3dcb4ece2c80 upgrade package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 886
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gsoap2/gSOAP/$($(PKG)_FILE)
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
13 $(PKG)_DEPS := gcc openssl
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
14
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
15 define $(PKG)_UPDATE
1120
405738cf5761 fixed sourceforge URLs in UPDATE macros
Mark Brand <mabrand@mabrand.nl>
parents: 949
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/gsoap2/files/) | \
886
cda305a91548 fix update macro for package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 847
diff changeset
17 $(SED) -n 's,.*gsoap_\([0-9][^>]*\)\.zip,\1,p' | \
665
8b5864900f70 implemented version recognition for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 664
diff changeset
18 tail -1
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
19 endef
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
20
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
21 define $(PKG)_BUILD
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
22
679
867c778bcf84 use automake for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 668
diff changeset
23 # gsoap-link-dom.patch
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
24 # The code in dom.c(pp) is needed for some applications.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
25 # Patch adds to the libs for easy linking in mingw-cross-env.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
26 # Rename dom.cpp to dom_cpp.cpp to prevent collision between
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
27 # dom.c and dom.cpp at dom.o.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
28
679
867c778bcf84 use automake for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 668
diff changeset
29 # Process changes to Makefile.am
867c778bcf84 use automake for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 668
diff changeset
30 cd '$(1)' && aclocal
867c778bcf84 use automake for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 668
diff changeset
31 cd '$(1)' && automake --add-missing
867c778bcf84 use automake for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 668
diff changeset
32 cd '$(1)' && autoconf
681
00f0ca2238f2 add missing call to autoheader in package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 680
diff changeset
33 cd '$(1)' && autoheader
667
13689d3ddac5 remove the need for flex/bison in package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 665
diff changeset
34
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
35 # Native build to get tools wsdl2h and soapcpp2
680
5b4a050ab741 disable SSL in native tools of package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 679
diff changeset
36 cd '$(1)' && ./configure \
1165
44c4736fd51f upgrade package gsoap
Mark Brand <mabrand@mabrand.nl>
parents: 1120
diff changeset
37 --enable-gnutls
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
38
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
39 # Parallel bulds can fail
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
40 $(MAKE) -C '$(1)'/gsoap -j 1
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
41
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
42 # Install the native tools manually
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
43 $(INSTALL) -m755 '$(1)'/gsoap/wsdl/wsdl2h '$(PREFIX)/bin/$(TARGET)-wsdl2h'
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
44 $(INSTALL) -m755 '$(1)'/gsoap/src/soapcpp2 '$(PREFIX)/bin/$(TARGET)-soapcpp2'
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
45
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
46 $(MAKE) -C '$(1)' -j '$(JOBS)' clean
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
47
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
48 # Build for mingw. Static by default.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
49 # Prevent undefined reference to _rpl_malloc.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
50 # 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
51 cd '$(1)' && ac_cv_func_malloc_0_nonnull=yes ./configure \
686
0964ad16d896 improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 681
diff changeset
52 --prefix='$(PREFIX)/$(TARGET)' \
0964ad16d896 improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 681
diff changeset
53 --host='$(TARGET)'
663
21e0d95330cf small cleanups for package gsoap
Volker Grabsch <vog@notjusthosting.com>
parents: 662
diff changeset
54
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
55 # Building for mingw requires native soapcpp2
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
56 ln -s '$(PREFIX)/bin/$(TARGET)-soapcpp2' '$(1)'/gsoap/src/soapcpp2
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
57
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
58 # Parallel bulds can fail
668
b37283cb0a26 use '$(TARGET)-ar' rather that 'ar' in package gsoap (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 667
diff changeset
59 $(MAKE) -C '$(1)' -j 1 AR='$(TARGET)-ar'
662
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
60
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
61 $(MAKE) -C '$(1)' -j 1 install
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
62 # Apparently there is a tradition of compiling gsoap source files into applications.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
63 # Since we linked dom.cpp and dom.c into the libraries, this should not be necessary.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
64 # But we bend to tradition and install these sources into mingw-cross-env.
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
65 $(INSTALL) -m644 '$(1)/gsoap/'*.c '$(1)/gsoap/'*.cpp '$(PREFIX)/$(TARGET)/share/gsoap'
9073c795e712 new package: gsoap
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
66 endef