summaryrefslogtreecommitdiff
blob: 7fe0dcc5953e3bfcce69156297c8f379b996083b (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
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

AUTOTOOLS_AUTORECONF=1
inherit autotools-utils

DESCRIPTION="C++ Socket Library"
HOMEPAGE="http://www.linuxhacker.at/socketxx/"
SRC_URI="http://src.linuxhacker.at/socket++/${P}.tar.gz"

LICENSE="freedist GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~x86"

IUSE="debug static-libs"

RESTRICT="bindist"

DEPEND="sys-apps/texinfo"
RDEPEND=""

DOCS=( AUTHORS ChangeLog NEWS README README2 README3 THANKS )

PATCHES=( "${FILESDIR}/${PN}-1.12.12-gcc47.patch" )

src_prepare() {
	# bug #514246
	sed -i -e 's/@subsection t/@section t/g' doc/socket++.texi || die

	autotools-utils_src_prepare
}

src_configure() {
	local myeconfargs=(
		$(use_enable debug)
	)
	autotools-utils_src_configure
}