Lines 1-31
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 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/socat/socat-1.7.1.3.ebuild,v 1.6 2010/08/07 15:57:58 armin76 Exp $ |
3 |
# $Header: $ |
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
4 |
|
|
|
5 |
EAPI="3" |
7 |
inherit eutils flag-o-matic |
6 |
inherit eutils flag-o-matic |
8 |
|
7 |
|
9 |
DESCRIPTION="Multipurpose relay (SOcket CAT)" |
8 |
DESCRIPTION="Multipurpose relay (SOcket CAT)" |
10 |
HOMEPAGE="http://www.dest-unreach.org/socat/" |
9 |
HOMEPAGE="http://www.dest-unreach.org/socat/" |
11 |
MY_P=${P/_beta/-b} |
10 |
SRC_URI="http://www.dest-unreach.org/socat/download/${P}.tar.bz2" |
12 |
S="${WORKDIR}/${MY_P}" |
|
|
13 |
SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2" |
14 |
|
11 |
|
15 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
16 |
SLOT="0" |
13 |
SLOT="0" |
17 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc sparc x86 ~ppc-macos" |
14 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc sparc x86 ~ppc-macos" |
18 |
IUSE="ssl readline ipv6 tcpd" |
15 |
IUSE="ssl readline ipv6 tcpd" |
19 |
|
16 |
|
20 |
DEPEND=" |
17 |
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 ) |
21 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
|
|
22 |
readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) |
18 |
readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) |
23 |
tcpd? ( sys-apps/tcp-wrappers ) |
19 |
tcpd? ( sys-apps/tcp-wrappers )" |
24 |
" |
|
|
25 |
RDEPEND="${DEPEND}" |
20 |
RDEPEND="${DEPEND}" |
26 |
|
21 |
|
27 |
src_configure() { |
22 |
src_configure() { |
28 |
filter-flags -Wno-error* |
23 |
filter-flags -Wno-error* # see bug #293324 |
|
|
24 |
filter-flags -w # see bug #344431 |
29 |
econf \ |
25 |
econf \ |
30 |
$(use_enable ssl openssl) \ |
26 |
$(use_enable ssl openssl) \ |
31 |
$(use_enable readline) \ |
27 |
$(use_enable readline) \ |