aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/crimsonfields/crimsonfields-native_0.5.3.bb
blob: 931756baf3650353fd142feb1d8b5877a42fa900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require crimsonfields.inc

DEPENDS = "libsdl-native"
PR = "${INC_PR}.0"
inherit autotools native

export SDL_CONFIG = "${STAGING_BINDIR}/sdl-config"

HOST_TOOLS = "cfed mkdatafile mklocale mktileset mkunitset"

do_compile() {
        cd tools && oe_runmake
}

do_install() {
        for binary in ${HOST_TOOLS}
        do
                install -m 0755 tools/$binary ${STAGING_BINDIR}
        done
        install -m 0644 tools/default.* ${STAGING_DATADIR}
        install -m 0644 tools/cf.dat ${STAGING_DATADIR}
}