All of lore.kernel.org
 help / color / mirror / Atom feed
* libvpx should not inherit autotools
@ 2010-10-07  5:59 Khem Raj
  2010-10-07  6:26 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2010-10-07  5:59 UTC (permalink / raw)
  To: openembeded-devel

Hi Koen

libvpx recipes are inheriting autotools while it seems to me that they
should not. Yes it does have a configure script but its not autoconf
generated but a hand written one
and there are no other traces of autoconf or automake and stuff that
goes with normal automake autoconf build systems.

Would you take a look at it ?

Thanks
-Khem



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libvpx should not inherit autotools
  2010-10-07  5:59 libvpx should not inherit autotools Khem Raj
@ 2010-10-07  6:26 ` Khem Raj
  2010-10-07  7:16   ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2010-10-07  6:26 UTC (permalink / raw)
  To: openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

On Wed, Oct 6, 2010 at 10:59 PM, Khem Raj <raj.khem@gmail.com> wrote:
> Hi Koen
>
> libvpx recipes are inheriting autotools while it seems to me that they
> should not. Yes it does have a configure script but its not autoconf
> generated but a hand written one
> and there are no other traces of autoconf or automake and stuff that
> goes with normal automake autoconf build systems.
>
> Would you take a look at it ?

something like attached would work. What do you think ?



>
> Thanks
> -Khem
>

[-- Attachment #2: diff --]
[-- Type: application/octet-stream, Size: 635 bytes --]

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}
 }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: libvpx should not inherit autotools
  2010-10-07  6:26 ` Khem Raj
@ 2010-10-07  7:16   ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2010-10-07  7:16 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07-10-10 08:26, Khem Raj wrote:
> On Wed, Oct 6, 2010 at 10:59 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> Hi Koen
>>
>> libvpx recipes are inheriting autotools while it seems to me that they
>> should not. Yes it does have a configure script but its not autoconf
>> generated but a hand written one
>> and there are no other traces of autoconf or automake and stuff that
>> goes with normal automake autoconf build systems.
>>
>> Would you take a look at it ?
> 
> something like attached would work. What do you think ?

That works for me, I was just too lazy to create the do_compile and
do_install :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMrXPfMkyGM64RGpERAu6qAJ9N6gQM1etGUzSsClL/TRYXYiTKsQCfZTRD
D2oDrFbvVot3RDKPS7DdEko=
=l+C2
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-07  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07  5:59 libvpx should not inherit autotools Khem Raj
2010-10-07  6:26 ` Khem Raj
2010-10-07  7:16   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.