diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/ode |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/ode')
-rw-r--r-- | org.handhelds.familiar/packages/ode/files/config.h | 48 | ||||
-rw-r--r-- | org.handhelds.familiar/packages/ode/ode_0.5.bb | 28 |
2 files changed, 76 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/ode/files/config.h b/org.handhelds.familiar/packages/ode/files/config.h new file mode 100644 index 0000000..8711bd9 --- /dev/null +++ b/org.handhelds.familiar/packages/ode/files/config.h @@ -0,0 +1,48 @@ +/* per-machine configuration. this file is automatically generated. */ + +#ifndef _ODE_CONFIG_H_ +#define _ODE_CONFIG_H_ + +/* standard system headers */ +#include <stdio.h> +#include <stdlib.h> +#include <math.h> +#include <string.h> +#include <stdarg.h> +#include <malloc.h> +#include <alloca.h> +#include <values.h> +#include <float.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* is this a pentium on a gcc-based platform? */ +#undef PENTIUM + +/* integer types (we assume int >= 32 bits) */ +typedef char int8; +typedef unsigned char uint8; +typedef short int16; +typedef unsigned short uint16; +typedef int int32; +typedef unsigned int uint32; + +/* an integer type that we can safely cast a pointer to and + * from without loss of bits. + */ +typedef unsigned int intP; + +/* select the base floating point type */ +#define dDOUBLE 1 + +/* the floating point infinity */ +#define dInfinity DBL_MAX + +/* available functions */ + +#ifdef __cplusplus +} +#endif +#endif diff --git a/org.handhelds.familiar/packages/ode/ode_0.5.bb b/org.handhelds.familiar/packages/ode/ode_0.5.bb new file mode 100644 index 0000000..95fd265 --- /dev/null +++ b/org.handhelds.familiar/packages/ode/ode_0.5.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "ODE is an Open Source Physics Engine." +SECTION = "libs" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +PR = "r0" +LICENSE = "LGPL" + +SRC_URI = "${SOURCEFORGE_MIRROR}/opende/ode-${PV}.tgz \ + file://config.h" + +do_configure() { + touch configurator.exe + chmod a+rx configurator.exe + install -m 0644 ${WORKDIR}/config.h include/ode/ +} + +do_compile() { + oe_runmake CC="${CC}" CFLAGS="${CFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}" RANLIB="${RANLIB}" AR="${AR} qf " ode-lib +} + +do_stage() { + install -d ${STAGING_INCDIR}/ode/ + install -m 0644 include/ode/*.h ${STAGING_INCDIR}/ode/ + oe_libinstall -C lib -a libode ${STAGING_LIBDIR} +} + +do_install() { + : +} |