summaryrefslogtreecommitdiff
path: root/recipes/netcat/netcat_0.7.1.bb
blob: 7c4dfc5375b6bdbbefe300fd64d6c38eff89ddb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "GNU Netcat"
HOMEPAGE = "http://netcat.sourceforge.net"
SECTION = "console/network"
LICENSE = "GPLv2"
PR = "r3"

SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"

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"