From 9e30378ac8517491548fdc436ed3bec1243faf0f Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 29 Sep 2004 23:49:58 +0000 Subject: [PATCH] really fix phalanx (which is not an autotools package, btw.) BKrev: 415b4a26ykZk7PzNGByHcfWv-KT4PQ --- phalanx/phalanx_22.oe | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/phalanx/phalanx_22.oe b/phalanx/phalanx_22.oe index e1ea1d37dd..43b1ed16c4 100644 --- a/phalanx/phalanx_22.oe +++ b/phalanx/phalanx_22.oe @@ -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 -- 2.39.5