tgt: upgraded to 1.0.10
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 25 Oct 2010 20:08:32 +0000 (22:08 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 25 Oct 2010 20:08:32 +0000 (22:08 +0200)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/tgt/tgt_1.0.10.bb [new file with mode: 0644]

diff --git a/recipes/tgt/tgt_1.0.10.bb b/recipes/tgt/tgt_1.0.10.bb
new file mode 100644 (file)
index 0000000..2bcc187
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "Linux target framework (tgt) aims to simplify various SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation and maintenance"
+HOMEPAGE = "http://stgt.berlios.de/"
+LICENSE = "GPLv2"
+DEPENDS = "openssl"
+RDEPENDS_${PN} = "iscsi-target"
+PR = "r0"
+
+SRC_URI = "http://stgt.berlios.de/releases/tgt-${PV}.tar.gz"
+SRC_URI[md5sum] = "c9cb76dc9026d59b52283daa67c9f9ae"
+SRC_URI[sha256sum] = "77a2d1f57cd9893fb2a1f4157d9241ac21efff9875126ed6aabb8cc0d9f9a93b"
+
+EXTRA_OEMAKE += "ISCSI=1"
+
+do_install() {
+        oe_runmake DESTDIR="${D}" install
+}
+
+TARGET_CC_ARCH += "${LDFLAGS}"