summaryrefslogtreecommitdiff
path: root/packages/ode/ode_0.5.bb
blob: 3b287d4b36b4454047653e4d1cc73658a4a8e314 (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
DESCRIPTION = "ODE is an Open Source Physics Engine."
SECTION = "libs"
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() {
	:
}