summaryrefslogtreecommitdiff
blob: b8a5a2ba6128ea5621c95c61204f1b5c47fbb38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils

DESCRIPTION="A small collection of programs to facilitate TCP programming in shell-scripts"
HOMEPAGE="ftp://ftp.lysator.liu.se/pub/unix/tcputils/"
SRC_URI="ftp://ftp.lysator.liu.se/pub/unix/${PN}/${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

src_prepare() {
	# trivially patch Makefile for using Gentoo CFLAGS etc
	epatch "${FILESDIR}/${P}-Makefile.patch"
}

src_install() {
	dobin tcpconnect tcplisten tcpbug mini-inetd getpeername || die
	doman tcpconnect.1 tcplisten.1 tcpbug.1 mini-inetd.1 getpeername.1 || die
	dodoc README || die
}