summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-02-01 17:19:09 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-02-01 17:19:09 +0000
commite0fd18f3298b71f5aa6107975feae7c9e09f588c (patch)
treedea50c29a3a1020e86fed9fd8784d5460eec1679
parentd51239a291cd6e98de422a224324b1c2bbe36a26 (diff)
vblade: Add package, ATA over Ethernet target daemon
-rw-r--r--packages/vblade/files/cross.patch12
-rw-r--r--packages/vblade/vblade_19.bb15
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/vblade/files/cross.patch b/packages/vblade/files/cross.patch
new file mode 100644
index 0000000000..117f8c6578
--- /dev/null
+++ b/packages/vblade/files/cross.patch
@@ -0,0 +1,12 @@
+diff -urN vblade-19.old//makefile vblade-19//makefile
+--- vblade-19.old//makefile 2008-10-08 22:07:40.000000000 +0100
++++ vblade-19//makefile 2008-11-18 19:07:51.700365029 +0000
+@@ -9,8 +9,6 @@
+ mandir = ${sharedir}/man
+
+ O=aoe.o bpf.o ${PLATFORM}.o ata.o
+-CFLAGS += -Wall -g -O2
+-CC = gcc
+
+ vblade: $O
+ ${CC} -o vblade $O
diff --git a/packages/vblade/vblade_19.bb b/packages/vblade/vblade_19.bb
new file mode 100644
index 0000000000..55731840ed
--- /dev/null
+++ b/packages/vblade/vblade_19.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Virtual EtherDrive blade AoE target"
+SECTION = "console/network"
+PR = "r1"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${PN}-${PV}.tgz \
+ file://cross.patch;patch=1"
+
+inherit autotools
+
+do_install() {
+ install -D -m 0755 ${S}/vblade ${D}/${sbindir}/vblade
+ install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed
+ install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8
+}