Mercurial > mxe-octave
annotate src/xerces.mk @ 691:9274676de8d3
update version of packages boost, gdal, gtk, libpano13 and xerces
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 05 Feb 2010 16:19:19 +0100 |
parents | dab071eac9c0 |
children | 29f1ba4559ae |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
567
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
567
diff
changeset
|
2 # See doc/index.html or doc/README for further information. |
551 | 3 |
4 # Xerces-C++ | |
5 PKG := xerces | |
6 $(PKG)_IGNORE := | |
691
9274676de8d3
update version of packages boost, gdal, gtk, libpano13 and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
7 $(PKG)_VERSION := 3.1.0 |
9274676de8d3
update version of packages boost, gdal, gtk, libpano13 and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
8 $(PKG)_CHECKSUM := 15e45ae354980d6aa58e8c14eb6bc9fd84e51929 |
551 | 9 $(PKG)_SUBDIR := xerces-c-$($(PKG)_VERSION) |
10 $(PKG)_FILE := xerces-c-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://xerces.apache.org/xerces-c/ | |
12 $(PKG)_URL := http://apache.linux-mirror.org/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE) | |
13 $(PKG)_URL_2 := http://www.apache.org/dist/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE) | |
14 $(PKG)_DEPS := gcc libiconv curl | |
15 | |
16 define $(PKG)_UPDATE | |
17 wget -q -O- 'http://svn.apache.org/viewvc/xerces/c/tags/?sortby=date' | \ | |
18 grep '<a name="' | \ | |
19 $(SED) -n 's,.*<a name="Xerces-C_\([0-9][^"]*\)".*,\1,p' | \ | |
20 $(SED) 's,_,.,g' | \ | |
567
22af4af31e80
avoid rc (release candidate) versions of package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
553
diff
changeset
|
21 grep -v rc | \ |
551 | 22 head -1 |
23 endef | |
24 | |
25 define $(PKG)_BUILD | |
26 cd '$(1)' && ./configure \ | |
27 --host='$(TARGET)' \ | |
28 --disable-shared \ | |
29 --prefix='$(PREFIX)/$(TARGET)' \ | |
30 --enable-libtool-lock \ | |
31 --disable-pretty-make \ | |
32 --enable-threads \ | |
33 --enable-network \ | |
34 --enable-netaccessor-curl \ | |
35 --disable-netaccessor-socket \ | |
36 --disable-netaccessor-cfurl \ | |
37 --disable-netaccessor-winsock \ | |
38 --enable-transcoder-iconv \ | |
39 --disable-transcoder-gnuiconv \ | |
40 --disable-transcoder-icu \ | |
41 --disable-transcoder-macosunicodeconverter \ | |
42 --disable-transcoder-windows \ | |
43 --enable-msgloader-inmemory \ | |
44 --disable-msgloader-iconv \ | |
45 --disable-msgloader-icu \ | |
553
a8603e0dbf27
bugfix of curl integration into package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
551
diff
changeset
|
46 --with-curl='$(PREFIX)/$(TARGET)' \ |
551 | 47 --without-icu \ |
553
a8603e0dbf27
bugfix of curl integration into package xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
551
diff
changeset
|
48 LIBS="-lws2_32 `$(TARGET)-pkg-config --libs libcurl`" |
551 | 49 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
50 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
51 endef |