1 DESCRIPTION = "fltk-chess is a frontend for the Gnuchess chess playing engine."
2 AUTHOR = "Andreas Holzer <a.holzer@cheese.at>"
10 SRC_URI = "http://members.cheese.at/woody/fltk-chess/fltk-chess-${PV}.tgz \
11 file://fix_cast_error_and_gnuchess_exec.patch;patch=1 \
12 file://fltk-chess.desktop"
13 S = "${WORKDIR}/fltk-chess/"
17 `fltk-config --cxx --cxxflags --ldflags --use-images` -o fltk-chess \
22 install -d ${D}${bindir}
23 install -d ${D}${datadir}/pixmaps/fltk-chess/
24 install -d ${D}${datadir}/applications/
25 install -m 0755 ${S}/fltk-chess ${D}${bindir}
26 install -m 0644 ${S}/bitmaps/*.pnx ${D}${datadir}/pixmaps/fltk-chess/
27 install -m 0644 ${S}/bitmaps/{user,computer}.png \
28 ${D}${datadir}/pixmaps/fltk-chess/
29 install -m 0644 ${S}/bitmaps/fltk-chess.png ${D}${datadir}/pixmaps/
30 install -m 0644 ${WORKDIR}/fltk-chess.desktop ${D}${datadir}/applications/