diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-07-30 23:52:49 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-07-31 00:14:55 +0200 |
| commit | 4339668ff27c839af1a1e4cfa5a2d034afe204f2 (patch) | |
| tree | d2a48dca9a2a46a944e5091bf9b157cb2dc15e44 /meta-oe/recipes-support/ode | |
| parent | f2afdd2b988af8d0b4d822c7c03529b725fe24ba (diff) | |
| download | meta-openembedded-4339668ff27c839af1a1e4cfa5a2d034afe204f2.tar.gz | |
fbreader, fltk, gpm, iksemel, joe, links, ode, openldap, opensync, xchat: import from meta-smartphone
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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.9.bb | 24 |
2 files changed, 47 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.9.bb b/meta-oe/recipes-support/ode/ode_0.9.bb new file mode 100644 index 0000000000..d076abb243 --- /dev/null +++ b/meta-oe/recipes-support/ode/ode_0.9.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "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 = "file://LICENSE-BSD.TXT;md5=c74e6304a772117e059458fb9763a928 \ | ||
| 6 | file://LICENSE.TXT;md5=771782cb6245c7fbbe74bc0ec059beff" | ||
| 7 | |||
| 8 | |||
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/opende/ode-src-${PV}.zip \ | ||
| 10 | file://install.patch" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "4c03759b76a0649a6d5108c8e172e1e4" | ||
| 13 | SRC_URI[sha256sum] = "460d0851b743b1f144ef2a8259004d6774504c95d08e9357a96a296111496feb" | ||
| 14 | |||
| 15 | inherit autotools binconfig | ||
| 16 | |||
| 17 | EXTRA_OECONF = "--disable-demos --enable-soname" | ||
| 18 | |||
| 19 | do_configure_append() { | ||
| 20 | echo "#define dInfinity DBL_MAX" >>include/ode/config.h | ||
| 21 | } | ||
| 22 | |||
| 23 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | ||
| 24 | |||
