summaryrefslogtreecommitdiff
path: root/recipes/gnuchess/gnuchess_5.021.bb
blob: c3579c4602d4822c528ebfc0227d8b89ad8363a0 (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
29
30
31
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"

TARGET_CC_ARCH += "${LDFLAGS}"

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"