diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-05-20 12:47:59 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-05-20 12:47:59 +0400 |
commit | 1f145b6b4187fbb451dde8c1a1e8c81bb691a672 (patch) | |
tree | 08a7f737f4a360448c693908d89bf750e3a7d5e2 /recipes/netcat/netcat_0.7.1.bb | |
parent | bfec41f79e1177aa047eb46e376752cee969287a (diff) | |
parent | cb70efeb71b3a1e5e8786d3488e4ec3a1580d45a (diff) |
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
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" |