summaryrefslogtreecommitdiff
path: root/phalanx
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-09-29 23:49:58 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-09-29 23:49:58 +0000
commit9e30378ac8517491548fdc436ed3bec1243faf0f (patch)
tree757e2a65d54cbf540b7917ca07b84d0079c399f4 /phalanx
parentcee3795c969e192599054e7e21f55ad0213de2de (diff)
really fix phalanx (which is not an autotools package, btw.)
BKrev: 415b4a26ykZk7PzNGByHcfWv-KT4PQ
Diffstat (limited to 'phalanx')
-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