diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/vblade/files/cross.patch | 12 | ||||
-rw-r--r-- | packages/vblade/vblade_19.bb | 15 |
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 +} |