really fix phalanx (which is not an autotools package, btw.)
authorMichael Lauer <mickey@vanille-media.de>
Wed, 29 Sep 2004 23:49:58 +0000 (23:49 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 29 Sep 2004 23:49:58 +0000 (23:49 +0000)
BKrev: 415b4a26ykZk7PzNGByHcfWv-KT4PQ

phalanx/phalanx_22.oe

index e1ea1d3..43b1ed1 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Phalanx is a chess playing engine."
 SECTION = "games/libs"
 PRIORITY = "optional"
 MAINTAINER = "Michael 'Mickey' Lauer"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://dusan.freeshell.org/phalanx/phalanx-${PV}.tar.gz \
            file://gcc3.patch;patch=1 \
@@ -10,10 +10,12 @@ SRC_URI = "http://dusan.freeshell.org/phalanx/phalanx-${PV}.tar.gz \
            file://description"
 S = "${WORKDIR}/Phalanx-XXII"
 
-inherit autotools
-
 palmtopdir = "/opt/QtPalmtop"
 
+do_compile() {
+       oe_runmake CC="${CC}" CFLAGS="${CFLAGS}" STRIP=echo LD="${CC}"
+}
+
 do_install() {
        install -d ${D}${palmtopdir}/chess/engines/Phalanx
         install -D -m 755 phalanx ${D}${palmtopdir}/chess/engines/Phalanx/phalanx