libvpx.inc: Do not inherit autotools
authorKhem Raj <raj.khem@gmail.com>
Thu, 7 Oct 2010 19:39:29 +0000 (12:39 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 7 Oct 2010 19:39:29 +0000 (12:39 -0700)
* 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@gmail.com>
recipes/webm/libvpx.inc

index d773d3a..00eba26 100644 (file)
@@ -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}
 }