summaryrefslogtreecommitdiff
path: root/meta-trygvis/recipes-extra/netcat
diff options
context:
space:
mode:
Diffstat (limited to 'meta-trygvis/recipes-extra/netcat')
-rw-r--r--meta-trygvis/recipes-extra/netcat/netcat_0.7.1.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-trygvis/recipes-extra/netcat/netcat_0.7.1.bb b/meta-trygvis/recipes-extra/netcat/netcat_0.7.1.bb
new file mode 100644
index 0000000..8b4c1eb
--- /dev/null
+++ b/meta-trygvis/recipes-extra/netcat/netcat_0.7.1.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "GNU Netcat"
+HOMEPAGE = "http://netcat.sourceforge.net"
+SECTION = "console/network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+PR = "r4"
+
+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"