e6d7e2fe797c95d6f18832d3751dc5ceef8405ed
[vuplus_openembedded] / phalanx / phalanx_22.oe
1 SECTION = "Games"
2 PRIORITY = "optional"
3 DEPENDS = "virtual/libc"
4 DESCRIPTION = "Phalanx is a chess playing engine."
5
6 SRC_URI = "http://dusan.freeshell.org/phalanx/phalanx-${PV}.tar.gz \
7            file://${FILESDIR}/gcc3.patch;patch=1"
8 S = "${WORKDIR}/Phalanx-XXII"
9
10 inherit autotools
11
12 FILES_phalanx = "${palmtopdir}/chess/engines/Phalanx"
13
14 do_install() {
15         install -d ${D}${palmtopdir}/chess/engines/Phalanx
16         install -D -m 755 phalanx ${D}${palmtopdir}/chess/engines/Phalanx/phalanx
17         install -D -m 755 pbook.phalanx ${D}${palmtopdir}/chess/engines/Phalanx/pbook.phalanx
18         >${D}${palmtopdir}/chess/engines/Phalanx/sbook.phalanx
19         >${D}${palmtopdir}/chess/engines/Phalanx/learn.phalanx
20         install -D -m 755 ${FILESDIR}/capabilities ${D}${palmtopdir}/chess/engines/Phalanx/capabilities
21         install -D -m 755 ${FILESDIR}/description ${D}${palmtopdir}/chess/engines/Phalanx/description
22 }