summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-12-03 12:41:24 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2012-12-07 16:20:27 -0500
commit3d61c970a1fd283b982f165a89305e12c18ee8eb (patch)
tree4bdb7e665a164c7b855efce1df44d8df4a27912a /meta-networking/recipes-support/netcat
parent42bb973d9b7a85f128bdc7876d067958e933e2a8 (diff)
downloadmeta-openembedded-3d61c970a1fd283b982f165a89305e12c18ee8eb.tar.gz
netcat: add from OE-Classic
Changes from the OE-Classic recipe: * Use ALTERNATIVE_${PN} instead of ALTERNATIVE_NAME * Add LIC_FILES_CHKSUM * Move SRC_URI checksums underneath SRC_URI Based on a patch by Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-networking/recipes-support/netcat')
-rw-r--r--meta-networking/recipes-support/netcat/netcat_0.7.1.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
new file mode 100644
index 000000000..c5ab85d19
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "GNU Netcat"
2HOMEPAGE = "http://netcat.sourceforge.net"
3SECTION = "console/network"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6
7PR = "r0"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
10
11SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
12SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
13
14inherit autotools update-alternatives gettext
15
16do_install_append() {
17 mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
18}
19
20ALTERNATIVE_${PN} = "nc"
21ALTERNATIVE_PRIORITY = "100"