Patchwork [01/10] Add recipe for netcat_0.7.1

login
register
mail settings
Submitter Yauhen Kharuzhy
Date Jan. 25, 2012, 10:54 a.m.
Message ID <1327488867-28024-1-git-send-email-yauhen.kharuzhy@promwad.com>
Download mbox | patch
Permalink /patch/20135/
State Superseded
Headers show

Comments

Yauhen Kharuzhy - Jan. 25, 2012, 10:54 a.m.
From: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>

Recipe for this package has been taken from Openembedded-classic project.

Signed-off-by: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>
---
 meta/recipes-connectivity/netcat/netcat_0.7.1.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-connectivity/netcat/netcat_0.7.1.bb

Patch

diff --git a/meta/recipes-connectivity/netcat/netcat_0.7.1.bb b/meta/recipes-connectivity/netcat/netcat_0.7.1.bb
new file mode 100644
index 0000000..d7c9719
--- /dev/null
+++ b/meta/recipes-connectivity/netcat/netcat_0.7.1.bb
@@ -0,0 +1,22 @@ 
+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"
+
+inherit autotools update-alternatives gettext
+
+do_install_append() {
+	mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN}
+}
+
+ALTERNATIVE_NAME = "nc"
+ALTERNATIVE_LINK = "${bindir}/nc"
+ALTERNATIVE_PATH = "${bindir}/nc.${PN}"
+ALTERNATIVE_PRIORITY = "100"
+
+SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
+SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"