Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / phalanx / phalanx_22.oe
1 DESCRIPTION = "Phalanx is a chess playing engine."
2 SECTION = "opie/libs"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael 'Mickey' Lauer"
5 PR = "r3"
6
7 SRC_URI = "http://dusan.freeshell.org/phalanx/phalanx-${PV}.tar.gz \
8            file://gcc3.patch;patch=1 \
9            file://capabilities \
10            file://description"
11 S = "${WORKDIR}/Phalanx-XXII"
12
13 palmtopdir = "/opt/QtPalmtop"
14
15 do_compile() {
16         oe_runmake CC="${CC}" CFLAGS="${CFLAGS}" STRIP=echo LD="${CC}"
17 }
18
19 do_install() {
20         install -d ${D}${palmtopdir}/chess/engines/Phalanx
21         install -D -m 755 phalanx ${D}${palmtopdir}/chess/engines/Phalanx/phalanx
22         install -D -m 755 pbook.phalanx ${D}${palmtopdir}/chess/engines/Phalanx/pbook.phalanx
23         >${D}${palmtopdir}/chess/engines/Phalanx/sbook.phalanx
24         >${D}${palmtopdir}/chess/engines/Phalanx/learn.phalanx
25         install -D -m 755 ${WORKDIR}/capabilities ${D}${palmtopdir}/chess/engines/Phalanx/capabilities
26         install -D -m 755 ${WORKDIR}/description ${D}${palmtopdir}/chess/engines/Phalanx/description
27 }
28
29 FILES_${PN} = "${palmtopdir}/chess"