summaryrefslogtreecommitdiff
path: root/packages/ode/ode_0.5.bb
blob: 95fd2657cda129af4ff93631f4cc7acf8ecfd97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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() {
	:
}