Mercurial > mxe-octave
comparison src/cgal.mk @ 2669:3a195a5d439b
update package cgal
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 05 Jul 2012 12:02:10 +0200 |
parents | 4d0f3a9da57e |
children | 3abd2de6c2d7 |
comparison
equal
deleted
inserted
replaced
2668:185b0c693c77 | 2669:3a195a5d439b |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := cgal | 4 PKG := cgal |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := d1f3f328bc5cb026ddb825cb585c7ae27a8856f7 | 6 $(PKG)_CHECKSUM := 20c58ebc021754e8be35237bcda43b0084f60617 |
7 $(PKG)_SUBDIR := CGAL-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := CGAL-$($(PKG)_VERSION) |
8 $(PKG)_FILE := CGAL-$($(PKG)_VERSION).tar.xz | 8 $(PKG)_FILE := CGAL-$($(PKG)_VERSION).tar.xz |
9 $(PKG)_URL := https://gforge.inria.fr/frs/download.php/30385/$($(PKG)_FILE) | 9 $(PKG)_URL := https://gforge.inria.fr/frs/download.php/31176/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc boost gmp mpfr qt | 10 $(PKG)_DEPS := gcc boost gmp mpfr qt |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 $(WGET) -q -O- 'https://gforge.inria.fr/frs/?group_id=52' | \ | 13 $(WGET) -q -O- 'https://gforge.inria.fr/frs/?group_id=52' | \ |
14 grep 'CGAL-' | \ | 14 grep 'CGAL-' | \ |
39 -DBOOST_COMPILER=_win32 \ | 39 -DBOOST_COMPILER=_win32 \ |
40 -DBOOST_THREAD_USE_LIB=1 \ | 40 -DBOOST_THREAD_USE_LIB=1 \ |
41 -DBOOST_USE_STATIC_LIBS=1 \ | 41 -DBOOST_USE_STATIC_LIBS=1 \ |
42 -DBUILD_SHARED_LIBS=0 \ | 42 -DBUILD_SHARED_LIBS=0 \ |
43 -DCGAL_DIR:STRING="../.." . | 43 -DCGAL_DIR:STRING="../.." . |
44 | |
44 $(MAKE) -C '$(1)/examples/AABB_tree' -j $(JOBS) | 45 $(MAKE) -C '$(1)/examples/AABB_tree' -j $(JOBS) |
45 $(MAKE) -C '$(1)' -j $(JOBS) install | 46 $(MAKE) -C '$(1)' -j $(JOBS) install |
46 $(INSTALL) '$(1)/examples/AABB_tree/AABB_polyhedron_edge_example.exe' '$(PREFIX)/$(TARGET)/bin/test-cgal.exe' | 47 $(INSTALL) '$(1)/examples/AABB_tree/AABB_polyhedron_edge_example.exe' '$(PREFIX)/$(TARGET)/bin/test-cgal.exe' |
47 endef | 48 endef |