Mercurial > mxe-octave
annotate src/xerces.mk @ 567:22af4af31e80
avoid rc (release candidate) versions of package xerces
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 02 Dec 2009 14:21:57 +0100 |
parents | a8603e0dbf27 |
children | dab071eac9c0 |
rev | line source |
---|---|
551 | 1 # Copyright (C) 2009 Volker Grabsch |
2 # | |
3 # Permission is hereby granted, free of charge, to any person obtaining | |
4 # a copy of this software and associated documentation files (the | |
5 # "Software"), to deal in the Software without restriction, including | |
6 # without limitation the rights to use, copy, modify, merge, publish, | |
7 # distribute, sublicense, and/or sell copies of the Software, and to | |
8 # permit persons to whom the Software is furnished to do so, subject | |
9 # to the following conditions: | |
10 # | |
11 # The above copyright notice and this permission notice shall be | |
12 # included in all copies or substantial portions of the Software. | |
13 # | |
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
15 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
16 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
17 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
18 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
19 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
20 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
21 | |
22 # Xerces-C++ | |
23 PKG := xerces | |
24 $(PKG)_IGNORE := | |
25 $(PKG)_VERSION := 3.0.1 | |
26 $(PKG)_CHECKSUM := 71e4efee5397dd45d6bafad34bf3bc766bc2a085 | |
27 $(PKG)_SUBDIR := xerces-c-$($(PKG)_VERSION) | |
28 $(PKG)_FILE := xerces-c-$($(PKG)_VERSION).tar.gz | |
29 $(PKG)_WEBSITE := http://xerces.apache.org/xerces-c/ | |
30 $(PKG)_URL := http://apache.linux-mirror.org/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE) | |
31 $(PKG)_URL_2 := http://www.apache.org/dist/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE) | |
32 $(PKG)_DEPS := gcc libiconv curl | |
33 | |
34 define $(PKG)_UPDATE | |
35 wget -q -O- 'http://svn.apache.org/viewvc/xerces/c/tags/?sortby=date' | \ | |
36 grep '<a name="' | \ | |
37 $(SED) -n 's,.*<a name="Xerces-C_\([0-9][^"]*\)".*,\1,p' | \ | |
38 $(SED) 's,_,.,g' | \ | |
567
22af4af31e80
avoid rc (release candidate) versions of package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
553
diff
changeset
|
39 grep -v rc | \ |
551 | 40 head -1 |
41 endef | |
42 | |
43 define $(PKG)_BUILD | |
44 cd '$(1)' && ./configure \ | |
45 --host='$(TARGET)' \ | |
46 --disable-shared \ | |
47 --prefix='$(PREFIX)/$(TARGET)' \ | |
48 --enable-libtool-lock \ | |
49 --disable-pretty-make \ | |
50 --enable-threads \ | |
51 --enable-network \ | |
52 --enable-netaccessor-curl \ | |
53 --disable-netaccessor-socket \ | |
54 --disable-netaccessor-cfurl \ | |
55 --disable-netaccessor-winsock \ | |
56 --enable-transcoder-iconv \ | |
57 --disable-transcoder-gnuiconv \ | |
58 --disable-transcoder-icu \ | |
59 --disable-transcoder-macosunicodeconverter \ | |
60 --disable-transcoder-windows \ | |
61 --enable-msgloader-inmemory \ | |
62 --disable-msgloader-iconv \ | |
63 --disable-msgloader-icu \ | |
553
a8603e0dbf27
bugfix of curl integration into package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
551
diff
changeset
|
64 --with-curl='$(PREFIX)/$(TARGET)' \ |
551 | 65 --without-icu \ |
553
a8603e0dbf27
bugfix of curl integration into package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
551
diff
changeset
|
66 LIBS="-lws2_32 `$(TARGET)-pkg-config --libs libcurl`" |
551 | 67 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
68 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
69 endef |