Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 241080 | Differences between
and this patch

Collapse All | Expand All

(-)net-misc/redir/redir-2.2.1.ebuild (-6 / +10 lines)
Lines 1-23 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-misc/redir/redir-2.2.1.ebuild,v 1.7 2005/06/08 15:00:40 gustavoz Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-misc/redir/redir-2.2.1.ebuild,v 1.7 2005/06/08 15:00:40 gustavoz Exp $
4
4
5
inherit toolchain-funcs
6
5
DESCRIPTION="Redir is a port redirector."
7
DESCRIPTION="Redir is a port redirector."
6
HOMEPAGE="http://sammy.net/~sammy/hacks/"
8
HOMEPAGE="http://sammy.net/~sammy/hacks/"
7
SRC_URI="http://sammy.net/~sammy/hacks/${P}.tar.gz"
9
SRC_URI="http://sammy.net/~sammy/hacks/${P}.tar.gz"
10
8
LICENSE="GPL-2"
11
LICENSE="GPL-2"
9
SLOT="0"
12
SLOT="0"
10
KEYWORDS="x86 ~amd64 alpha ~hppa ~mips sparc"
13
KEYWORDS="alpha ~amd64 ~hppa ~mips sparc x86"
11
IUSE=""
14
IUSE=""
15
12
DEPEND=""
16
DEPEND=""
13
RDEPEND=""
17
RDEPEND=""
14
18
15
src_compile() {
19
src_compile() {
16
	emake || die
20
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
17
}
21
}
18
22
19
src_install() {
23
src_install() {
20
	dobin redir
24
	dobin redir || die "dobin failed"
21
	newman redir.man redir.1
25
	newman redir.man redir.1 || die "doman failed"
22
	dodoc CHANGES COPYING README transproxy.txt
26
	dodoc CHANGES README transproxy.txt || die "dodoc failed"
23
}
27
}

Return to bug 241080