2015-07-10 16:55:52 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2015-07-10 16:55:52 +03:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
AUTOTOOLS_AUTORECONF=1
|
|
|
|
inherit autotools-utils
|
|
|
|
|
|
|
|
DESCRIPTION="C++ Socket Library"
|
|
|
|
HOMEPAGE="http://www.linuxhacker.at/socketxx/"
|
|
|
|
SRC_URI="http://www.linuxhacker.at/linux/downloads/src/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="freedist GPL-2+"
|
|
|
|
SLOT="0"
|
2015-07-29 14:21:44 +03:00
|
|
|
KEYWORDS="~alpha amd64 ~mips x86"
|
2015-07-10 16:55:52 +03:00
|
|
|
|
|
|
|
IUSE="debug static-libs"
|
|
|
|
|
|
|
|
RESTRICT="bindist"
|
|
|
|
|
|
|
|
DEPEND="sys-apps/texinfo"
|
|
|
|
RDEPEND=""
|
|
|
|
|
|
|
|
DOCS=( AUTHORS ChangeLog NEWS README README2 README3 THANKS )
|
|
|
|
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-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
|
|
|
|
}
|