summaryrefslogtreecommitdiff
path: root/packages/nonworking/crimsonfields/crimsonfields_0.4.6.bb
blob: 0674506547319fdd1a2aa906c43c41cd1aa85e27 (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 = "Crimson Fields is a tactical war game in the tradition of Battle Isle."
SECTION = "games"
PRIORITY = "optional"
DEPENDS = "virtual/libsdl libsdl-mixer libsdl-ttf"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"

SRC_URI = "http://crimson.seul.org/files/crimson-${PV}.tar.bz2"
S = "${WORKDIR}/crimson-${PV}"

inherit autotools 

do_configure() {
	gnu-configize
	oe_runconf
}

do_compile() {
	cd tools && oe_runmake \
		CC="${BUILD_CC}" CXX="${BUILD_CXX}" LD="${BUILD_CCLD}" \
		CFLAGS="${BUILD_CFLAGS}" CXXFLAGS="${BUILD_CXXFLAGS}" LDFLAGS="${BUILD_LDFLAGS}"
	cd ${S} && oe_runmake
}

# FIXME: Add .desktop file for Opie/Qtopia