[oe-commits] Khem Raj : alsa-utils_1.0.20.bb: Use --with-alsa-prefix and --with-alsa-inc-prefix
git version control
git at git.openembedded.org
Thu Oct 7 22:01:27 UTC 2010
Module: openembedded.git
Branch: master
Commit: 67199093302f050d168f6f4146fc471c96a584d4
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=67199093302f050d168f6f4146fc471c96a584d4
Author: Khem Raj <raj.khem at gmail.com>
Date: Thu Oct 7 14:59:25 2010 -0700
alsa-utils_1.0.20.bb: Use --with-alsa-prefix and --with-alsa-inc-prefix
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/alsa/alsa-utils_1.0.20.bb | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/recipes/alsa/alsa-utils_1.0.20.bb b/recipes/alsa/alsa-utils_1.0.20.bb
index cca2980..ee0467e 100644
--- a/recipes/alsa/alsa-utils_1.0.20.bb
+++ b/recipes/alsa/alsa-utils_1.0.20.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
SECTION = "console/utils"
LICENSE = "GPLv2"
DEPENDS = "alsa-lib ncurses"
-PR = "r3"
+PR = "r4"
SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
file://alsa-utils-remove-xmlto-1.0.19plus.patch \
@@ -11,17 +11,11 @@ SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
inherit gettext autotools
+EXTRA_OECONF += " --with-alsa-prefix=${STAGING_LIBDIR} --with-alsa-inc-prefix=${STAGING_INCDIR}"
+
# This are all packages that we need to make. Also, the now empty alsa-utils
# ipk depend on them.
-
-do_configure_append() {
- for i in $(find ${S} -name Makefile) ; do
- sed -i -e s:/usr/include/ncurses:${STAGING_INCDIR}/ncurses:g $i
- sed -i -e 's:-L/usr/lib -lncurses:-L${STAGING_LIBDIR} -lncurses:g' $i
- done
-}
-
PACKAGES += "\
alsa-utils-alsamixer \
alsa-utils-midi \
More information about the Openembedded-commits
mailing list