[oe-commits] Paul Eggleton : netcat: add from OE-Classic

git at git.openembedded.org git at git.openembedded.org
Fri Dec 7 21:23:38 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 3d61c970a1fd283b982f165a89305e12c18ee8eb
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3d61c970a1fd283b982f165a89305e12c18ee8eb

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Mon Dec  3 12:41:24 2012 +0000

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 at promwad.com>

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 .../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 0000000..c5ab85d
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "GNU Netcat"
+HOMEPAGE = "http://netcat.sourceforge.net"
+SECTION = "console/network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
+SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
+
+inherit autotools update-alternatives gettext
+
+do_install_append() {
+	mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
+}
+
+ALTERNATIVE_${PN} = "nc"
+ALTERNATIVE_PRIORITY = "100"





More information about the Openembedded-commits mailing list