annotate src/openscenegraph.mk @ 3419:e7e29aeea726

Add octave forge 'fl-core' package * Makefile.in: Add of-fl-core. * build_packages.m: Add install of fl-core-1.0.3.tar.gz * dist-files: Add of-fl-core.mk, of-fl-core-1-fixes.patch. * index.html: Added of-fl-core-package. * src/of-fl-core.mk: New file. * src/of-fl-core-1-fixes.patch: New file.
author John Donoghue <john.donoghue@ieee.org>
date Mon, 13 Jan 2014 18:26:59 -0500
parents 5ef49fb3299d
children 13be64f9f16d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2016
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := openscenegraph
884
32b20fee1d5d upgrade package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents: 842
diff changeset
5 $(PKG)_IGNORE :=
1955
e2a680ec2f33 update packags: ffmpeg libsamplerate openscenegraph
Mark Brand <mabrand@mabrand.nl>
parents: 1928
diff changeset
6 $(PKG)_CHECKSUM := 13c7e39f6d62047ad944d8d28a0f0eb60384ce33
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1458
diff changeset
8 $(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip
1955
e2a680ec2f33 update packags: ffmpeg libsamplerate openscenegraph
Mark Brand <mabrand@mabrand.nl>
parents: 1928
diff changeset
9 $(PKG)_URL := http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$($(PKG)_VERSION)/source/$($(PKG)_FILE)
1517
8aeb650b7ab7 provide alternative download location for OpenSceneGraph in case the main site is down
Volker Grabsch <vog@notjusthosting.com>
parents: 1499
diff changeset
10 $(PKG)_URL_2 := http://distfiles.macports.org/OpenSceneGraph/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
11 $(PKG)_DEPS := curl ffmpeg freetype gdal giflib jasper jpeg libpng openexr tiff xine-lib zlib dcmtk qt
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/tags?order=date&desc=1' | \
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 grep '<a ' | \
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*>OpenSceneGraph-\([0-9][^<]*\)<.*,\1,p' | \
842
6ed03d75a7ec corrected regexes in exceptions rules of version recognition
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
17 grep -v '^2\.9\.' | \
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
22 cd '$(1)' && cmake . \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
24 -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
25 -DCMAKE_HAVE_PTHREAD_H=OFF \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
26 -DDYNAMIC_OPENTHREADS=OFF \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
27 -DDYNAMIC_OPENSCENEGRAPH=OFF \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1517
diff changeset
28 -DBUILD_OSG_APPLICATIONS=OFF \
921
6cab75a592f7 bugfix for package openscenegraph to work with GCC 4.5 (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 917
diff changeset
29 -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1
1928
cfe3eba58dfd update package openscenegraph
Mark Brand <mabrand@mabrand.nl>
parents: 1893
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1
647
e62e7f0d2650 new package: openscenegraph (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef