summaryrefslogtreecommitdiff
path: root/packages/pbltool/pbltool-native_0.2.bb
blob: 1a29f9d2ddb1d5be41f5ccbf5f3be6e4dd7d35e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Loader tool for Amstrad Delta (E3)"
LICENSE = "GPL"
FILE_PR = "r0"

SRC_URI = "http://the.earth.li/pub/e3/pbltool-${PV}.c"

INHIBIT_NATIVE_STAGE_INSTALL = "1"

do_compile() {
	${CC} -o pbltool ${WORKDIR}/pbltool-${PV}.c
}

do_deploy() {
	install -d ${DEPLOY_DIR_IMAGE}
	install -m 0755 pbltool ${DEPLOY_DIR_IMAGE}
}

addtask deploy before do_build after do_compile

inherit native