summaryrefslogtreecommitdiff
path: root/recipes/gnuchess/gnuchess_5.021.bb
blob: 602f8d9e6cc73f4b866cdc6902024fb120711efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "Gnuchess is a chess playing engine."
SECTION = "console"
PRIORITY = "optional"
MAINTAINER = "Andreas Holzer <a.holzer@cheese.at>"
LICENSE = "GPL"
PR = "r1"
RSUGGESTS_${PN} = "xboard"
SRC_URI = "http://members.cheese.at/woody/fltk-chess/gnuchess_5.02.tar.gz \
           file://gnuchess.desktop \
           file://gnuchess.png \
           file://gnuchess.sh \
" 
S = "${WORKDIR}/chess-5.02/src"

inherit autotools

do_install() {
        install -d ${D}${bindir}
        install -d ${D}${datadir}/pixmaps/
        install -d ${D}${datadir}/applications/
        install -m 0755 ${WORKDIR}/gnuchess.sh ${D}${bindir}
        install -m 0644 ${WORKDIR}/gnuchess.png  ${D}${datadir}/pixmaps/
        install -m 0644 ${WORKDIR}/gnuchess.desktop  ${D}${datadir}/applications/
        install -D ${S}/gnuchess ${D}${bindir}/gnuchess
}

SRC_URI[md5sum] = "01a9e1dc12613543f10ca3bc09acc0af"
SRC_URI[sha256sum] = "64483bf3e98124e3490509a6054da0ff70b69ca0baa04f53444d7cf054deee06"