From: Michael Lauer Date: Wed, 29 Sep 2004 23:49:58 +0000 (+0000) Subject: really fix phalanx (which is not an autotools package, btw.) X-Git-Tag: Release-2010-05/1~16816 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e30378ac8517491548fdc436ed3bec1243faf0f;p=openembedded.git really fix phalanx (which is not an autotools package, btw.) BKrev: 415b4a26ykZk7PzNGByHcfWv-KT4PQ --- 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