1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Asynchronous Network Library"
7 HOMEPAGE="http://asio.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
12 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
13 IUSE="doc examples ssl test"
14 RESTRICT="!test? ( test )"
16 RDEPEND="dev-libs/boost
17 ssl? ( dev-libs/openssl:0= )"
24 # Don't build nor install any examples or unittests
25 # since we don't have a script to run them
26 cat > src/Makefile.in <<-EOF || die
37 use doc && local HTML_DOCS=( doc/. )
41 # Get rid of the object files
44 docompress -x /usr/share/doc/${PF}/examples