[oe-commits] Khem Raj : clxclient_3.6.1.bb: Fix compilation, do not inherit autotools

git version control git at git.openembedded.org
Wed Oct 27 07:08:50 UTC 2010


Module: openembedded.git
Branch: master
Commit: 0c958cb549e0ec0ca49378d0decd10ba1fc0094d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0c958cb549e0ec0ca49378d0decd10ba1fc0094d

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Oct 27 00:03:17 2010 -0700

clxclient_3.6.1.bb: Fix compilation, do not inherit autotools

* This does not use autoconf or automake so no need to inherit it
* Do not override CFLAGS and add freetype include path to compiler
  include search paths

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/jaaa/clxclient_3.6.1.bb |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/recipes/jaaa/clxclient_3.6.1.bb b/recipes/jaaa/clxclient_3.6.1.bb
index 678ea45..9aa2135 100644
--- a/recipes/jaaa/clxclient_3.6.1.bb
+++ b/recipes/jaaa/clxclient_3.6.1.bb
@@ -1,24 +1,23 @@
 DESCRIPTION = "clxclient library from http://www.kokkinizita.net/linuxaudio/"
 SECTION = "libs/multimedia"
 PRIORITY = "optional"
-LICENSE = "LGPL"
-PR = "r1"
+LICENSE = "LGPLv2.1+"
+PR = "r2"
 
 DEPENDS = "libx11 clthreads freetype libxft"
 RDEPENDS_${PN} = "libx11-locale"
-
+TARGET_CC_ARCH += "-I ${STAGING_DIR_HOST}/usr/include/freetype2"
 SRC_URI = "http://www.kokkinizita.net/linuxaudio/downloads/clxclient-${PV}.tar.bz2 \
 	file://clxclient-Makefile.patch \
 "
 
 S = "${WORKDIR}/clxclient-${PV}"
 
-inherit autotools pkgconfig lib_package
+inherit pkgconfig lib_package
 
-do_stage() {
-       autotools_stage_all
-	   oe_libinstall -so libclxclient ${STAGING_LIBDIR}
-	   install -m 0644 clxclient.h ${STAGING_INCDIR}
+do_compile() {
+        unset CFLAGS CPPFLAGS CXXFLAGS
+        oe_runmake
 }
 
 SRC_URI[md5sum] = "bd47f80a855d3203fcf10365e79d85e4"





More information about the Openembedded-commits mailing list