diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/ode | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/ode')
-rw-r--r-- | meta-oe/recipes-support/ode/ode/install.patch | 23 | ||||
-rw-r--r-- | meta-oe/recipes-support/ode/ode_0.13.bb | 27 |
2 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ode/ode/install.patch b/meta-oe/recipes-support/ode/ode/install.patch new file mode 100644 index 0000000000..2f6cdb0080 --- /dev/null +++ b/meta-oe/recipes-support/ode/ode/install.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | --- ode-0.9.orig/Makefile.am 2007-02-21 15:54:54.000000000 +0100 | ||
2 | +++ ode-0.9/Makefile.am 2010-08-21 16:15:55.000000000 +0200 | ||
3 | @@ -25,13 +25,13 @@ | ||
4 | |||
5 | if USE_SONAME | ||
6 | install-exec-hook: | ||
7 | - ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
8 | - $(libdir)/libode.so | ||
9 | - ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
10 | - $(libdir)/@ODE_SONAME@ | ||
11 | - ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
12 | - $(libdir)/@ODE_SONAME@.@ODE_REVISION@ | ||
13 | - /sbin/ldconfig | ||
14 | + ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
15 | + $(DESTDIR)/$(libdir)/libode.so | ||
16 | + ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
17 | + $(DESTDIR)/$(libdir)/@ODE_SONAME@ | ||
18 | + ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ | ||
19 | + $(DESTDIR)/$(libdir)/@ODE_SONAME@.@ODE_REVISION@ | ||
20 | + echo /sbin/ldconfig | ||
21 | else | ||
22 | install-exec-hook: | ||
23 | endif | ||
diff --git a/meta-oe/recipes-support/ode/ode_0.13.bb b/meta-oe/recipes-support/ode/ode_0.13.bb new file mode 100644 index 0000000000..8e9eb153c2 --- /dev/null +++ b/meta-oe/recipes-support/ode/ode_0.13.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "ODE is an Open Source Physics Engine" | ||
2 | SECTION = "libs" | ||
3 | HOMEPAGE = "http://www.ode.org" | ||
4 | LICENSE = "LGPLv2.1 & BSD" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://COPYING;md5=1de906ee96808d9776dd72a5f9a79a22 \ | ||
7 | file://LICENSE.TXT;md5=771782cb6245c7fbbe74bc0ec059beff \ | ||
8 | " | ||
9 | # LICENSE-BSD.TXT is missing in 0.13 tarball, but COPYING still says it's dual licensed | ||
10 | # and svn repo still contains LICENSE-BSD.TXT so maybe it will return in next tarball | ||
11 | # file://LICENSE-BSD.TXT;md5=c74e6304a772117e059458fb9763a928 | ||
12 | |||
13 | |||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/opende/ode-${PV}.tar.bz2" | ||
15 | SRC_URI[md5sum] = "04b32c9645c147e18caff7a597a19f84" | ||
16 | SRC_URI[sha256sum] = "34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9" | ||
17 | |||
18 | inherit autotools binconfig | ||
19 | |||
20 | EXTRA_OECONF = "--disable-demos --enable-soname" | ||
21 | |||
22 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | ||
23 | |||
24 | PACKAGECONFIG ?= "" | ||
25 | # if it isn't explicitly selected and "$build_os" == "$target_os", then configure will run | ||
26 | # series of AC_TRY_RUN which won't work for cross-compilation and configure fails | ||
27 | PACKAGECONFIG[double-precision] = "--enable-double-precision,--disable-double-precision" | ||