diff options
Diffstat (limited to 'recipes/webm/libvpx.inc')
-rw-r--r-- | recipes/webm/libvpx.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/webm/libvpx.inc b/recipes/webm/libvpx.inc new file mode 100644 index 0000000000..a0aebffc17 --- /dev/null +++ b/recipes/webm/libvpx.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "vpx Multi-Format Codec SDK" +LICENSE = "BSD" + +PR = "r1" + +SRC_URI = "http://webm.googlecode.com/files/libvpx-${PV}.tar.bz2" + +inherit autotools + +CFLAGS += "-fPIC" + +export CC +export LD = "${CC}" + +VPXTARGET_armv5te = "armv5te-linux-gcc" +VPXTARGET_armv6 = "armv6-linux-gcc" +VPXTARGET_armv7a = "armv7-linux-gcc" +VPXTARGET ?= "generic-gnu" + +CONFIGUREOPTS = " \ + --target=${VPXTARGET} \ + --enable-vp8 \ + --enable-libs \ + --disable-install-docs \ +" + +do_install() { + oe_runmake install DESTDIR=${D} +} + |