diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-27 11:25:50 +0000 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2012-11-27 14:43:58 -0500 |
commit | 5ea9b7527abb70ebf84370900eca506c97913576 (patch) | |
tree | 8745bc3cbf132b55e5f4253b67131ce1ad7040ce /meta-networking | |
parent | 85c1a1a45409ffa064b5da8c8b00e7a5f7d67b83 (diff) | |
download | meta-openembedded-5ea9b7527abb70ebf84370900eca506c97913576.tar.gz |
vblade: add from OE-Classic, update and tidy up
* Update to version 20
* Add LIC_FILES_CHKSUM
* Make LICENSE more accurate
* Set SUMMARY (which sets DESCRIPTION)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-daemons/vblade/files/cross.patch | 16 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/vblade/vblade_20.bb | 20 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/vblade/files/cross.patch b/meta-networking/recipes-daemons/vblade/files/cross.patch new file mode 100644 index 000000000..481b6fa93 --- /dev/null +++ b/meta-networking/recipes-daemons/vblade/files/cross.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Remove CC and CFLAGS values, we set these ourselves | ||
2 | |||
3 | Upstream-status: Inappropriate [config] | ||
4 | |||
5 | diff -urN vblade-19.old//makefile vblade-19//makefile | ||
6 | --- vblade-19.old//makefile 2008-10-08 22:07:40.000000000 +0100 | ||
7 | +++ vblade-19//makefile 2008-11-18 19:07:51.700365029 +0000 | ||
8 | @@ -9,8 +9,6 @@ | ||
9 | mandir = ${sharedir}/man | ||
10 | |||
11 | O=aoe.o bpf.o ${PLATFORM}.o ata.o | ||
12 | -CFLAGS += -Wall -g -O2 | ||
13 | -CC = gcc | ||
14 | |||
15 | vblade: $O | ||
16 | ${CC} -o vblade $O | ||
diff --git a/meta-networking/recipes-daemons/vblade/vblade_20.bb b/meta-networking/recipes-daemons/vblade/vblade_20.bb new file mode 100644 index 000000000..2cf7e6519 --- /dev/null +++ b/meta-networking/recipes-daemons/vblade/vblade_20.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Virtual EtherDrive blade AoE target" | ||
2 | SECTION = "console/network" | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/aoetools/${PN}-${PV}.tgz \ | ||
8 | file://cross.patch" | ||
9 | |||
10 | SRC_URI[md5sum] = "3c80e4a6bc7d66ae0c235b88cb44bd59" | ||
11 | SRC_URI[sha256sum] = "c8fe2fc4f2fba8e07e5cfdf17335982584eef2cd5c78bf8b1db93f2b56e7121d" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | do_install() { | ||
16 | install -D -m 0755 ${S}/vblade ${D}/${sbindir}/vblade | ||
17 | install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed | ||
18 | install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8 | ||
19 | } | ||
20 | |||