diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-12-03 12:41:24 +0000 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2012-12-07 16:20:27 -0500 |
commit | 3d61c970a1fd283b982f165a89305e12c18ee8eb (patch) | |
tree | 4bdb7e665a164c7b855efce1df44d8df4a27912a /meta-networking | |
parent | 42bb973d9b7a85f128bdc7876d067958e933e2a8 (diff) | |
download | meta-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')
-rw-r--r-- | meta-networking/recipes-support/netcat/netcat_0.7.1.bb | 21 |
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 @@ | |||
1 | DESCRIPTION = "GNU Netcat" | ||
2 | HOMEPAGE = "http://netcat.sourceforge.net" | ||
3 | SECTION = "console/network" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2" | ||
10 | |||
11 | SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" | ||
12 | SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" | ||
13 | |||
14 | inherit autotools update-alternatives gettext | ||
15 | |||
16 | do_install_append() { | ||
17 | mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN} | ||
18 | } | ||
19 | |||
20 | ALTERNATIVE_${PN} = "nc" | ||
21 | ALTERNATIVE_PRIORITY = "100" | ||