summaryrefslogtreecommitdiff
blob: 35b32645558d6c2b2be0a5350f5f2b290622022a (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
28
29
30
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/pipes/pipes-1.16.1.ebuild,v 1.4 2014/07/18 20:58:24 jer Exp $

EAPI=5
inherit eutils toolchain-funcs

DESCRIPTION="Very versatile TCP pipes"
HOMEPAGE="http://bisqwit.iki.fi/source/pipes.html"
SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86"

src_prepare() {
	# Prevent the build system from looking for dependencies
	touch .depend || die
}

src_compile() {
	emake CC=$(tc-getCC) OPTIM="${CFLAGS}" LDFLAGS="${CFLAGS} ${LDFLAGS}"
}

src_install() {
	dobin plis
	dosym /usr/bin/plis /usr/bin/pcon
	dodoc Examples ChangeLog
	dohtml README.html
}