summaryrefslogtreecommitdiff
path: root/packages/freedroid/freedroid_1.0.2.bb
blob: be1087d6912e70688b99978f0052f9cc8ed68e96 (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
DESCRIPTION = "Clone of the classic Paradroid from C64 - SDL version."
SECTION = "opie/games"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
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 -a graphics map sound ${D}${datadir}/freedroid/
}