summaryrefslogtreecommitdiff
path: root/packages/libao
diff options
context:
space:
mode:
authorMatthias Goebl <oe@m.goebl.net>2006-02-07 02:16:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-07 02:16:16 +0000
commitc0137f047ce68ef14c7cca0b88500146c438eb9e (patch)
tree5ea5868bcfb9ea437ec8c0f83cbb04f7ff236ccf /packages/libao
parentca1af768a6c53ba0189e5a4cbff6237a5aff2337 (diff)
libao-plugin-alsa_0.8.6.bb: Rename from libao-alsa_0.8.6 and fix do_stage
- Rename libao-alsa to libao-plugin-alsa and define libao-alsa as provided, because the main package name will be automatically replaced by the main library name with version appended (libao2) - Restrict staging that only the alsa-part will be staged
Diffstat (limited to 'packages/libao')
-rw-r--r--packages/libao/libao-plugin-alsa_0.8.6.bb (renamed from packages/libao/libao-alsa_0.8.6.bb)13
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/libao/libao-alsa_0.8.6.bb b/packages/libao/libao-plugin-alsa_0.8.6.bb
index 4df98e1cca..30cde27074 100644
--- a/packages/libao/libao-alsa_0.8.6.bb
+++ b/packages/libao/libao-plugin-alsa_0.8.6.bb
@@ -6,7 +6,9 @@ PRIORITY = "optional"
MAINTAINER = "Matthias Goebl <matthias.goebl@goebl.net>"
DEPENDS = "alsa-lib libao"
RDEPENDS = "libao2 (>=${PV})"
-PR = "r1"
+PROVIDES = "libao-alsa"
+PACKAGES = "libao-alsa libao-alsa-dev"
+PR = "r2"
SRC_URI = "http://downloads.xiph.org/releases/ao/libao-${PV}.tar.gz"
S = "${WORKDIR}/libao-${PV}"
@@ -19,9 +21,10 @@ EXTRA_OECONF = "--disable-esd --disable-esdtest \
--disable-arts --disable-nas"
do_stage() {
- oe_libinstall -so -C src libao ${STAGING_LIBDIR}
+ install -d ${STAGING_LIBDIR}/ao
+ install -d ${STAGING_LIBDIR}/ao/plugins-2
+ oe_libinstall -so -C src/plugins/alsa09/.libs libalsa09 ${STAGING_LIBDIR}/ao/plugins-2
}
-PACKAGES = "libao-alsa-plugin libao-alsa-plugin-dev"
-FILES_libao-alsa-plugin= "${libdir}/ao/plugins-2/libalsa*.so"
-FILES_libao-alsa-plugin-dev += "${libdir}/ao/plugins-2/libalsa*.la"
+FILES_libao-alsa = "${libdir}/ao/plugins-2/libalsa*.so"
+FILES_libao-alsa-dev = "${libdir}/ao/plugins-2/libalsa*.la"