1 DESCRIPTION = "Chess Game for Opie/Qtopia using the Phalanx engine"
4 MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
7 DEPENDS = "virtual/libqpe"
9 SRC_URI = "http://www.houseoffish.org/knights/downloads/knights.tar.gz \
10 file://libqpe-opie.patch;patch=1 \
11 file://gcc3.patch;patch=1"
12 S = "${WORKDIR}/knights"
16 QMAKE_PROFILES = "knights.pro"
18 do_configure_prepend() {
19 echo -e "TEMPLATE=subdirs\nSUBDIRS=qtcompat microkde knights\n" >knights.pro
23 install -d ${D}/${palmtopdir}/bin \
24 ${D}/${palmtopdir}/apps/Games \
25 ${D}/${palmtopdir}/pics
26 install -D -m 755 knights/knights ${D}/${palmtopdir}/bin/knights
27 install -D -m 644 knights.desktop ${D}/${palmtopdir}/Games/knights.desktop
28 install -d ${D}/${palmtopdir}/pics
29 cp -a pics/knights ${D}/${palmtopdir}/pics/