b2ae3f3e5ce2921caf020b25e110153e1fd20154
[vuplus_openembedded] / libvorbis / libvorbis_1.0.1.oe
1 SECTION = "libs"
2 DEPENDS = "libogg"
3 DESCRIPTION = "Ogg Vorbis is a high-quality lossy audio codec \
4 that is free of intellectual property restrictions. libvorbis \
5 is the main vorbis codec library."
6
7 SRC_URI = "http://www.vorbis.com/files/${PV}/unix/libvorbis-${PV}.tar.gz"
8
9 inherit autotools  pkgconfig
10
11 EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \
12                 --with-ogg-includes=${STAGING_INCDIR}"
13
14 do_stage () {
15         oe_libinstall -a -so -C lib libvorbis ${STAGING_LIBDIR}
16         oe_libinstall -a -so -C lib libvorbisfile ${STAGING_LIBDIR}
17         oe_libinstall -a -so -C lib libvorbisenc ${STAGING_LIBDIR}
18
19         install -d ${STAGING_INCDIR}/vorbis
20         install -m 0644 include/vorbis/vorbisenc.h \
21                         include/vorbis/vorbisfile.h \
22                         include/vorbis/codec.h ${STAGING_INCDIR}/vorbis/
23 }