summaryrefslogtreecommitdiff
path: root/recipes/freedoom/freedoom_0.3.bb
blob: f44bde1bf35b6396c485449d99a5bcd76fa4d111 (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
SECTION = "games"
DESCRIPTION = "The Freedoom project aims at collaboratively creating a Free IWAD file.\
	       Combined with the Free source code, this results in a complete game \
	       based on the Doom engine which is Free Software."
HOMEPAGE = "http://freedoom.sourceforge.net/"
PRIORITY = "optional"
LICENSE = "GPL"
do_unpack[depends] += "unzip-native:do_populate_staging"

SRC_URI = "http://ovh.dl.sourceforge.net/sourceforge/freedoom/freedoom-iwad-0.3.zip"

PR = "r1"

FILES_${PN} = "/usr/share/games/doom/*"
FILES_${PN}-doc = "/usr/share/doc/freedoom/*"

do_install() {
	install -d ${D}/usr/share/games/doom
	install -d ${D}/usr/share/doc/freedoom

	install -m 0644 ${WORKDIR}/freedoom-iwad-${PV}/doom2.wad ${D}/usr/share/games/doom/
	install -m 0644 ${WORKDIR}/freedoom-iwad-${PV}/* ${D}/usr/share/doc/freedoom
	rm ${D}/usr/share/doc/freedoom/*.wad




}