summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/pbltool/.mtn2git_empty0
-rw-r--r--packages/pbltool/pbltool-native_0.2.bb20
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/pbltool/.mtn2git_empty b/packages/pbltool/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pbltool/.mtn2git_empty
diff --git a/packages/pbltool/pbltool-native_0.2.bb b/packages/pbltool/pbltool-native_0.2.bb
new file mode 100644
index 0000000000..f6e8be560b
--- /dev/null
+++ b/packages/pbltool/pbltool-native_0.2.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Loader tool for Amstrad Delta (E3)"
+LICENSE = "GPL"
+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