urjtag: added git version
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 12 Aug 2010 10:24:28 +0000 (12:24 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 12 Aug 2010 10:24:28 +0000 (12:24 +0200)
added git version as git head supports jtag over gpio.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/urjtag/urjtag_git.bb [new file with mode: 0644]

diff --git a/recipes/urjtag/urjtag_git.bb b/recipes/urjtag/urjtag_git.bb
new file mode 100644 (file)
index 0000000..1159c1f
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "UrJTAG is a universal JTAG library, servers and tools"
+HOMEPAGE = "http://urjtag.org/"
+LICENSE = "GPLv2"
+DEPENDS = "libftdi libusb gettext readline"
+
+SRCREV = "fc8686b8dd545f54d25e77f65e43f4d774bc46"
+
+PV = "0.10"
+PR = "r0"
+PR_append = "+gitr${SRCPV}"
+
+S = "${WORKDIR}/git/urjtag"
+
+SRC_URI = "git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag;protocol=git;branch=master \
+       "
+inherit autotools
+
+# no idea why -s would make a difference but without it configure fails.
+# guess the symlink is created before the actual content is there
+EXTRA_AUTORECONF = "-s"
+
+do_install () {
+        oe_runmake DESTDIR=${D} MKINSTALLDIRS="${S}/tools/mkinstalldirs" install
+}