diff options
Diffstat (limited to 'recipes/netcat/netcat_0.7.1.bb')
-rw-r--r-- | recipes/netcat/netcat_0.7.1.bb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/recipes/netcat/netcat_0.7.1.bb b/recipes/netcat/netcat_0.7.1.bb index c7ceccddf2..7c4dfc5375 100644 --- a/recipes/netcat/netcat_0.7.1.bb +++ b/recipes/netcat/netcat_0.7.1.bb @@ -2,8 +2,17 @@ DESCRIPTION = "GNU Netcat" HOMEPAGE = "http://netcat.sourceforge.net" SECTION = "console/network" LICENSE = "GPLv2" -PR = "r1" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2" -inherit autotools +inherit autotools update-alternatives + +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" |