diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-12 15:52:39 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-12 15:52:39 +0100 |
commit | 5009d0b5d532227487ed9e5ff99f80f07015afa7 (patch) | |
tree | 4da3b7f5567ca0b5ae5568bac69d4debf31a0d60 | |
parent | 6f8d9edfee0f5fcf608089451aa2724439e06dfd (diff) | |
download | openembedded-core-5009d0b5d532227487ed9e5ff99f80f07015afa7.tar.gz openembedded-core-5009d0b5d532227487ed9e5ff99f80f07015afa7.tar.bz2 openembedded-core-5009d0b5d532227487ed9e5ff99f80f07015afa7.tar.xz openembedded-core-5009d0b5d532227487ed9e5ff99f80f07015afa7.zip |
alsa-lib: Convert to use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/alsa/alsa-lib_1.0.20.bb | 12 |
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 d4bf79eb5..fe910ec59 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" HOMEPAGE = "http://www.alsa-project.org" SECTION = "libs/multimedia" LICENSE = "GPL" +PR = "r1" # configure.in sets -D__arm__ on the command line for any arm system # (not just those with the ARM instruction set), this should be removed, @@ -12,22 +13,13 @@ ARM_INSTRUCTION_SET = "arm" SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ file://fix-tstamp-declaration.patch;patch=1" -inherit autotools pkgconfig +inherit autotools_stage pkgconfig require alsa-fpu.inc EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" -do_stage () { - oe_libinstall -so -C src libasound ${STAGING_LIBDIR}/ - install -d ${STAGING_INCDIR}/alsa/sound - install -m 0644 include/*.h ${STAGING_INCDIR}/alsa/ - #install -m 0644 include/sound/ainstr*.h ${STAGING_INCDIR}/alsa/sound/ - install -d ${STAGING_DATADIR}/aclocal - install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/ -} - PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" FILES_libasound = "${libdir}/libasound.so.*" |