summaryrefslogtreecommitdiffstats
path: root/meta/packages/alsa
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:52:39 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:52:39 +0100
commit5009d0b5d532227487ed9e5ff99f80f07015afa7 (patch)
tree4da3b7f5567ca0b5ae5568bac69d4debf31a0d60 /meta/packages/alsa
parent6f8d9edfee0f5fcf608089451aa2724439e06dfd (diff)
downloadpoky-5009d0b5d532227487ed9e5ff99f80f07015afa7.tar.gz
alsa-lib: Convert to use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/alsa')
-rw-r--r--meta/packages/alsa/alsa-lib_1.0.20.bb12
1 files changed, 2 insertions, 10 deletions
diff --git a/meta/packages/alsa/alsa-lib_1.0.20.bb b/meta/packages/alsa/alsa-lib_1.0.20.bb
index d4bf79eb5b..fe910ec59d 100644
--- a/meta/packages/alsa/alsa-lib_1.0.20.bb
+++ b/meta/packages/alsa/alsa-lib_1.0.20.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Alsa sound library"
2HOMEPAGE = "http://www.alsa-project.org" 2HOMEPAGE = "http://www.alsa-project.org"
3SECTION = "libs/multimedia" 3SECTION = "libs/multimedia"
4LICENSE = "GPL" 4LICENSE = "GPL"
5PR = "r1"
5 6
6# configure.in sets -D__arm__ on the command line for any arm system 7# configure.in sets -D__arm__ on the command line for any arm system
7# (not just those with the ARM instruction set), this should be removed, 8# (not just those with the ARM instruction set), this should be removed,
@@ -12,22 +13,13 @@ ARM_INSTRUCTION_SET = "arm"
12SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ 13SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
13 file://fix-tstamp-declaration.patch;patch=1" 14 file://fix-tstamp-declaration.patch;patch=1"
14 15
15inherit autotools pkgconfig 16inherit autotools_stage pkgconfig
16 17
17require alsa-fpu.inc 18require alsa-fpu.inc
18EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " 19EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
19 20
20EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" 21EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python"
21 22
22do_stage () {
23 oe_libinstall -so -C src libasound ${STAGING_LIBDIR}/
24 install -d ${STAGING_INCDIR}/alsa/sound
25 install -m 0644 include/*.h ${STAGING_INCDIR}/alsa/
26 #install -m 0644 include/sound/ainstr*.h ${STAGING_INCDIR}/alsa/sound/
27 install -d ${STAGING_DATADIR}/aclocal
28 install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/
29}
30
31PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" 23PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev"
32FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" 24FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*"
33FILES_libasound = "${libdir}/libasound.so.*" 25FILES_libasound = "${libdir}/libasound.so.*"