From 2e1c38f5506e2c993bda91bcd08ee3605e72db4f Mon Sep 17 00:00:00 2001
From: Michael Lauer <mickey@vanille-media.de>
Date: Sat, 14 Feb 2004 00:05:36 +0000
Subject: libao_0.8.4.oe:   clean up and use pkgconfig.oeclass instead of
 hardcoded install during staging

BKrev: 402d6650rVJKDkyrgwHVr40nsXv45A
---
 libao/libao_0.8.4.oe | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

(limited to 'libao')

diff --git a/libao/libao_0.8.4.oe b/libao/libao_0.8.4.oe
index 079abfbc2b..2017aa839a 100644
--- a/libao/libao_0.8.4.oe
+++ b/libao/libao_0.8.4.oe
@@ -1,12 +1,13 @@
-SECTION = libs
-
-DEPENDS = virtual/libc
-RDEPENDS = libc6
+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
+inherit autotools libtool pkgconfig
 
 EXTRA_OECONF = '--disable-esd --disable-esdtest \
 		--disable-alsa --disable-alsa09 \
@@ -19,8 +20,5 @@ do_stage () {
 
 	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}/
+	oe_soinstall -src/.libs/libao.so.2.1.2 ${STAGING_LIBDIR}/
 }
-- 
cgit v1.2.3