[oe-commits] Khem Raj : libvpx.inc: Do not inherit autotools
git version control
git at git.openembedded.org
Thu Oct 7 19:41:04 UTC 2010
Module: openembedded.git
Branch: master
Commit: dba9226506d159e2c9c57e85b66cf46f6849192f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dba9226506d159e2c9c57e85b66cf46f6849192f
Author: Khem Raj <raj.khem at gmail.com>
Date: Thu Oct 7 12:39:29 2010 -0700
libvpx.inc: Do not inherit autotools
* Define own versions of do_compile and do_configure
this package has configure but its not autconf one.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/webm/libvpx.inc | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/recipes/webm/libvpx.inc b/recipes/webm/libvpx.inc
index d773d3a..00eba26 100644
--- a/recipes/webm/libvpx.inc
+++ b/recipes/webm/libvpx.inc
@@ -1,12 +1,10 @@
DESCRIPTION = "vpx Multi-Format Codec SDK"
LICENSE = "BSD"
-INC_PR = "r4"
+INC_PR = "r5"
SRC_URI = "http://webm.googlecode.com/files/libvpx-${PV}.tar.bz2"
-inherit autotools
-
CFLAGS += "-fPIC"
export CC
@@ -23,7 +21,12 @@ CONFIGUREOPTS = " \
--enable-libs \
--disable-install-docs \
"
-
+do_configure() {
+ ${S}/configure ${CONFIGUREOPTS}
+}
+do_compile() {
+ oe_runmake
+}
do_install() {
oe_runmake install DESTDIR=${D}
}
More information about the Openembedded-commits
mailing list