summaryrefslogtreecommitdiff
path: root/recipes/freedroid/freedroid_1.0.2.bb
blob: cd148bc2d4bb1080a394d4cd99ffabb84449505a (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
DESCRIPTION = "Clone of the classic Paradroid from C64 - SDL version."
SECTION = "opie/games"
PRIORITY = "optional"
LICENSE = "GPL"
HOMEPAGE = "http://freedroid.sourceforge.net/"
PR = "r2"

APPIMAGE = "${WORKDIR}/freedroid.png"

SRC_URI = "${SOURCEFORGE_MIRROR}/freedroid/freedroid-${PV}.tar.gz \
           file://freedroid.png"

inherit autotools sdl

do_compile() {
	oe_runmake pkgdatadir=${datadir}/freedroid
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 src/freedroid ${D}${bindir}
        install -d ${D}${datadir}/freedroid/
	cp -pPR graphics map sound ${D}${datadir}/freedroid/
}