summaryrefslogtreecommitdiff
path: root/libao/libao_0.8.4.oe
blob: e75110f8a0cae94aad40c7503f72d3c58e756280 (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
DESCRIPTION = "A cross platform audio library"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"

SRC_URI = http://www.xiph.org/ao/src/libao-${PV}.tar.gz \
	  file://${FILESDIR}/configure.patch;patch=1

inherit autotools libtool pkgconfig

EXTRA_OECONF = '--disable-esd --disable-esdtest \
		--disable-alsa --disable-alsa09 \
		--disable-arts --disable-nas'

do_stage () {
	install -d ${STAGING_INCDIR}/ao
	install -m 0644 include/ao/ao.h include/ao/os_types.h \
			include/ao/plugin.h ${STAGING_INCDIR}/ao/

	install -m 0644 src/.libs/libao.a ${STAGING_LIBDIR}/
	install -m 0644 src/.libs/libao.lai ${STAGING_LIBDIR}/libao.la
	oe_soinstall src/.libs/libao.so.2.1.2 ${STAGING_LIBDIR}/
}