summaryrefslogtreecommitdiff
path: root/packages/freedroid/freedroid_1.0.2.bb
blob: 6b9f1283b308f005fd94b7a3c3e4e8044b6936c1 (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/"
FILE_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/
}