summaryrefslogtreecommitdiff
path: root/packages/ode/ode_0.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ode/ode_0.5.bb')
-rw-r--r--packages/ode/ode_0.5.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/ode/ode_0.5.bb b/packages/ode/ode_0.5.bb
index e69de29bb2..95fd2657cd 100644
--- a/packages/ode/ode_0.5.bb
+++ b/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() {
+ :
+}