summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phalanx/phalanx_22.oe8
1 files 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