annotate src/boost.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
2 # See doc/index.html or doc/README for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # Boost C++ Library
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
5 PKG := boost
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 437
diff changeset
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 := 1_42_0
9274676de8d3 update version of packages boost, gdal, gtk, libpano13 and xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
8 $(PKG)_CHECKSUM := 3ce3bb1a1bed504635287017f9e628597b409e7b
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
9 $(PKG)_SUBDIR := boost_$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
10 $(PKG)_FILE := boost_$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
11 $(PKG)_WEBSITE := http://www.boost.org/
419
88a52dce85d5 improved download URLs for packages boost and gcc*
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$(subst _,.,$($(PKG)_VERSION))/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
13 $(PKG)_DEPS := gcc zlib bzip2 expat
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/boost/files/boost/) | \
266
b94424e6c37f improved the regexes for package version recognition
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
17 $(SED) -n 's,.*boost_\([0-9][^>]*\)\.tar.*,\1,p' | \
534
fae9e962bf83 avoid beta versions of package boost
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
18 grep -v beta | \
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
19 tail -1
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 echo 'using gcc : : $(TARGET)-g++ : ;' > '$(1)/user-config.jam'
238
2815bfcdc270 corrected typo
Volker Grabsch <vog@notjusthosting.com>
parents: 229
diff changeset
24 # make the build script generate .a library files instead of .lib
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(SED) 's,<target-os>windows : lib ;,<target-os>windows : a ;,' -i '$(1)/tools/build/v2/tools/types/lib.jam'
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 # compile boost jam
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 cd '$(1)/tools/jam/src' && ./build.sh
220
32eef23cb982 portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents: 208
diff changeset
28 cd '$(1)' && tools/jam/src/bin.*/bjam \
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 -j '$(JOBS)' \
555
96ed9e4e854c ensure that the cross build won't be confused by /etc/site-config.jam in package boost (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 534
diff changeset
30 --ignore-site-config \
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --user-config=user-config.jam \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 target-os=windows \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 threading=multi \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 link=static \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 threadapi=win32 \
437
fa53f265a028 update version of package boost
Volker Grabsch <vog@notjusthosting.com>
parents: 419
diff changeset
36 --layout=tagged \
205
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --without-mpi \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --without-python \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --prefix='$(PREFIX)/$(TARGET)' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --exec-prefix='$(PREFIX)/$(TARGET)/bin' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --libdir='$(PREFIX)/$(TARGET)/lib' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --includedir='$(PREFIX)/$(TARGET)/include' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 -sEXPAT_INCLUDE='$(PREFIX)/$(TARGET)/include' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 -sEXPAT_LIBPATH='$(PREFIX)/$(TARGET)/lib' \
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 stage install
74275a3f9e54 new package: boost (by Andreas Roever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 endef