summaryrefslogtreecommitdiff
path: root/libvorbis/libvorbis_1.0.1.oe
blob: 67c38e4bae813022597ccbcfec9483a4243414a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SECTION = "libs"
RDEPENDS = "libc6 libogg"
DEPENDS = "virtual/libc libogg"
DESCRIPTION = "Ogg Vorbis is a high-quality lossy audio codec \
that is free of intellectual property restrictions. libvorbis \
is the main vorbis codec library."

SRC_URI = "http://www.vorbis.com/files/${PV}/unix/libvorbis-${PV}.tar.gz"

inherit autotools libtool pkgconfig

EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \
	        --with-ogg-includes=${STAGING_INCDIR}"

do_stage () {
	install -m 0644 lib/.libs/libvorbis.lai ${STAGING_LIBDIR}/libvorbis.la
	install -m 0644 lib/.libs/libvorbis.a ${STAGING_LIBDIR}/
	oe_soinstall lib/.libs/libvorbis.so.0.3.0 ${STAGING_LIBDIR}/

	install -m 0644 lib/.libs/libvorbisfile.lai ${STAGING_LIBDIR}/libvorbisfile.la
	install -m 0644 lib/.libs/libvorbisfile.a ${STAGING_LIBDIR}/
	oe_soinstall lib/.libs/libvorbisfile.so.3.1.0 ${STAGING_LIBDIR}/

	install -m 0644 lib/.libs/libvorbisenc.lai ${STAGING_LIBDIR}/libvorbisenc.la
	install -m 0644 lib/.libs/libvorbisenc.a ${STAGING_LIBDIR}/
	oe_soinstall lib/.libs/libvorbisenc.so.2.0.0 ${STAGING_LIBDIR}/

	install -d ${STAGING_INCDIR}/vorbis
	install -m 0644 include/vorbis/vorbisenc.h \
			include/vorbis/vorbisfile.h \
			include/vorbis/codec.h ${STAGING_INCDIR}/vorbis/
}