diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-support/ode')
3 files changed, 64 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/configure.patch b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/configure.patch new file mode 100644 index 000000000..246b2e2c2 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/configure.patch @@ -0,0 +1,13 @@ +Index: ode-0.13/libccd/configure.ac +=================================================================== +--- ode-0.13.orig/libccd/configure.ac 2013-08-19 17:48:03.000000000 +0000 ++++ ode-0.13/libccd/configure.ac 2014-07-17 22:04:16.580595690 +0000 +@@ -5,7 +5,7 @@ + AC_INIT([libccd], [1.0], [danfis@danfis.cz]) + AC_CONFIG_SRCDIR([src/ccd.c]) + AC_CONFIG_HEADERS([src/config.h]) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + # Checks for programs. + AC_PROG_CXX diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/install.patch b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/install.patch new file mode 100644 index 000000000..2f6cdb008 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode/install.patch @@ -0,0 +1,23 @@ +--- ode-0.9.orig/Makefile.am 2007-02-21 15:54:54.000000000 +0100 ++++ ode-0.9/Makefile.am 2010-08-21 16:15:55.000000000 +0200 +@@ -25,13 +25,13 @@ + + if USE_SONAME + install-exec-hook: +- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ +- $(libdir)/libode.so +- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ +- $(libdir)/@ODE_SONAME@ +- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ +- $(libdir)/@ODE_SONAME@.@ODE_REVISION@ +- /sbin/ldconfig ++ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ ++ $(DESTDIR)/$(libdir)/libode.so ++ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ ++ $(DESTDIR)/$(libdir)/@ODE_SONAME@ ++ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ ++ $(DESTDIR)/$(libdir)/@ODE_SONAME@.@ODE_REVISION@ ++ echo /sbin/ldconfig + else + install-exec-hook: + endif diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode_0.13.bb b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode_0.13.bb new file mode 100644 index 000000000..2dc82a8e1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/ode/ode_0.13.bb @@ -0,0 +1,28 @@ +SUMMARY = "ODE is an Open Source Physics Engine" +SECTION = "libs" +HOMEPAGE = "http://www.ode.org" +LICENSE = "LGPLv2.1 & BSD" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=1de906ee96808d9776dd72a5f9a79a22 \ + file://LICENSE.TXT;md5=771782cb6245c7fbbe74bc0ec059beff \ +" +# LICENSE-BSD.TXT is missing in 0.13 tarball, but COPYING still says it's dual licensed +# and svn repo still contains LICENSE-BSD.TXT so maybe it will return in next tarball +# file://LICENSE-BSD.TXT;md5=c74e6304a772117e059458fb9763a928 + + +SRC_URI = "${SOURCEFORGE_MIRROR}/opende/ode-${PV}.tar.bz2 \ + file://configure.patch" +SRC_URI[md5sum] = "04b32c9645c147e18caff7a597a19f84" +SRC_URI[sha256sum] = "34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9" + +inherit autotools binconfig + +EXTRA_OECONF = "--disable-demos --enable-soname" + +FILES_${PN} = "${libdir}/lib*${SOLIBS}" + +PACKAGECONFIG ?= "" +# if it isn't explicitly selected and "$build_os" == "$target_os", then configure will run +# series of AC_TRY_RUN which won't work for cross-compilation and configure fails +PACKAGECONFIG[double-precision] = "--enable-double-precision,--disable-double-precision" |