dtc-native: package version 1.0.0 of the device tree compiler
authorJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Dec 2007 10:45:09 +0000 (10:45 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Sat, 1 Dec 2007 10:45:09 +0000 (10:45 +0000)
* improve the package description
* make 1.0.0 the default preferred version

packages/dtc/dtc-native_1.0.0.bb [new file with mode: 0644]

diff --git a/packages/dtc/dtc-native_1.0.0.bb b/packages/dtc/dtc-native_1.0.0.bb
new file mode 100644 (file)
index 0000000..35c9b11
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
+SECTION = "bootloader"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "http://www.jdl.com/pub/software/dtc-${PV}.tgz"
+
+S = "${WORKDIR}/dtc"
+
+inherit autotools native
+
+do_stage() {
+       install -m 755 dtc ${STAGING_BINDIR}/dtc
+}