clxclient_3.6.1.bb: Fix compilation, do not inherit autotools
authorKhem Raj <raj.khem@gmail.com>
Wed, 27 Oct 2010 07:03:17 +0000 (00:03 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 27 Oct 2010 07:03:17 +0000 (00:03 -0700)
* 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@gmail.com>
recipes/jaaa/clxclient_3.6.1.bb

index 678ea45..9aa2135 100644 (file)
@@ -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"