summaryrefslogtreecommitdiff
path: root/libao
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-10 02:16:47 +0000
committerChris Larson <clarson@kergoth.com>2003-12-10 02:16:47 +0000
commit382cbf269dec7ee85ca23b31fd509a2179e32146 (patch)
treeb697cf372ec87df281b3fa4d8cd69c498f09dff8 /libao
parentad92c905a965c09c0ca110d5602afef43d47ab8c (diff)
Fix libao build.
BKrev: 3fd6820fCvTlGdjuolmnhMxWh6KvTg
Diffstat (limited to 'libao')
-rw-r--r--libao/libao-0.8.4/configure.patch0
-rw-r--r--libao/libao_0.8.4.oe26
2 files changed, 26 insertions, 0 deletions
diff --git a/libao/libao-0.8.4/configure.patch b/libao/libao-0.8.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libao/libao-0.8.4/configure.patch
diff --git a/libao/libao_0.8.4.oe b/libao/libao_0.8.4.oe
index e69de29bb2..079abfbc2b 100644
--- a/libao/libao_0.8.4.oe
+++ b/libao/libao_0.8.4.oe
@@ -0,0 +1,26 @@
+SECTION = libs
+
+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
+
+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
+ install -m 0755 src/.libs/libao.so.2.1.2 ${STAGING_LIBDIR}/
+ ln -sf libao.so.2.1.2 ${STAGING_LIBDIR}/libao.so.2
+ ln -sf libao.so.2.1.2 ${STAGING_LIBDIR}/libao.so
+ install -m 0644 ao.pc ${PKG_CONFIG_PATH}/
+}