diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/rb_libtorrent | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/rb_libtorrent')
-rw-r--r-- | net-libs/rb_libtorrent/Manifest | 4 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch | 37 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch | 32 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/metadata.xml | 13 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild | 73 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild | 78 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild | 73 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild | 75 | ||||
-rw-r--r-- | net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild | 75 |
9 files changed, 460 insertions, 0 deletions
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest new file mode 100644 index 000000000000..a72c2ce358d1 --- /dev/null +++ b/net-libs/rb_libtorrent/Manifest @@ -0,0 +1,4 @@ +DIST libtorrent-rasterbar-0.16.17.tar.gz 3018881 SHA256 67a1d29c626d991d6e39c2f9828ca70c4053d057070ce01fff9b4ad37e64aff0 SHA512 532b2438e24c3ecad239480a1bd6241a0d73d40f8d5bdcf61ddfcee1a41f1644c9004d4f234968efd50158224219b78852ec936a05b75b15f3442b594460cdd6 WHIRLPOOL 755e201741ed77cf91cb0976cbaa83c645647341d2cfe40564552599f2792ba76bd02e82a94669d80b199f1a1d6290824686d2bb52d6b0da8663d2274176f3eb +DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 SHA512 8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 WHIRLPOOL 4429d07bd95f398a09f283a7cbcf6611aeb8ac5d2b8ed76d98f89d601aa6ed66e6eb8f044b351fad6cca3606351ccc67081dba7c8dd8d9c3c433eae84aedeb2c +DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 +DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch new file mode 100644 index 000000000000..6f8432040842 --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-0.16.17-python.patch @@ -0,0 +1,37 @@ + bindings/python/setup.py.in | 6 +++--- + configure.ac | 4 ---- + 2 files changed, 3 insertions(+), 7 deletions(-) + +diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in +index adc474c..3faf982 100644 +--- a/bindings/python/setup.py.in ++++ b/bindings/python/setup.py.in +@@ -61,10 +61,10 @@ if "CFLAGS" in config_vars and "-Wstrict-prototypes" in config_vars["CFLAGS"]: + if "OPT" in config_vars and "-Wstrict-prototypes" in config_vars["OPT"]: + config_vars["OPT"] = config_vars["OPT"].replace("-Wstrict-prototypes", " ") + +-source_list = os.listdir(os.path.join(os.path.dirname(__file__), "src")) +-source_list = [os.path.join("src", s) for s in source_list if s.endswith(".cpp")] ++source_list = os.listdir(os.path.join('@srcdir@', "src")) ++source_list = [os.path.join('@srcdir@', "src", s) for s in source_list if s.endswith(".cpp")] + +-extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_SYSTEM_LIB@ @BOOST_PYTHON_LIB@ @PTHREAD_LIBS@ @OPENSSL_LIBS@ @OPENSSL_LDFLAGS@ @OPENSSL_INCLUDES@' ++extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_SYSTEM_LIB@ @PTHREAD_LIBS@ @OPENSSL_LIBS@ @OPENSSL_LDFLAGS@ @OPENSSL_INCLUDES@' + '-lboost_python-%s-mt' % (platform.python_version()[:3]) + + setup( name='python-libtorrent', + version='@PACKAGE_VERSION@', +diff --git a/configure.ac b/configure.ac +index 55ee13a..bdbf2a3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -559,10 +559,6 @@ AS_CASE(["$ARG_ENABLE_PYTHON_BINDING"], + + AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.])) + AX_PYTHON_DEVEL([>= '2.4']) +- AX_BOOST_PYTHON() +- +- AS_IF([test -z "$BOOST_PYTHON_LIB"], +- [AC_MSG_ERROR([Boost.Python library not found. Try using --with-boost-python=lib.])]) + ], + ["no"], [ + AC_MSG_RESULT([no]) diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch new file mode 100644 index 000000000000..e729a190c79a --- /dev/null +++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.2-python.patch @@ -0,0 +1,32 @@ + bindings/python/setup.py | 2 +- + configure.ac | 4 ---- + 2 files changed, 1 insertion(+), 5 deletions(-) + +diff --git a/bindings/python/setup.py b/bindings/python/setup.py +index 961395f..c38ef52 100644 +--- a/bindings/python/setup.py ++++ b/bindings/python/setup.py +@@ -36,7 +36,7 @@ def target_specific(): + + try: + with open('compile_flags') as _file: +- extra_cmd = _file.read() ++ extra_cmd = _file.read() + '-lboost_python-%s-mt' % (platform.python_version()[:3]) + + except: + extra_cmd = None +diff --git a/configure.ac b/configure.ac +index ebb1f7e..3e07828 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -540,10 +540,6 @@ AS_CASE(["$ARG_ENABLE_PYTHON_BINDING"], + + AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.])) + AX_PYTHON_DEVEL([>= '2.4']) +- AX_BOOST_PYTHON() +- +- AS_IF([test -z "$BOOST_PYTHON_LIB"], +- [AC_MSG_ERROR([Boost.Python library not found. Try using --with-boost-python=lib.])]) + ], + ["no"], [ + AC_MSG_RESULT([no]) diff --git a/net-libs/rb_libtorrent/metadata.xml b/net-libs/rb_libtorrent/metadata.xml new file mode 100644 index 000000000000..24e4e69507e7 --- /dev/null +++ b/net-libs/rb_libtorrent/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-p2p</herd> + <maintainer> + <email>hwoarang@gentoo.org</email> + <name>Markos Chandras</name> + </maintainer> + <upstream> + <remote-id type="google-code">libtorrent</remote-id> + <remote-id type="sourceforge">libtorrent</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild new file mode 100644 index 000000000000..f5445dd422bd --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" +SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.48:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${P}-python.patch ) + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild new file mode 100644 index 000000000000..21530dc43907 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +PYTHON_DEPEND="python? 2:2.7" +PYTHON_USE_WITH="threads" +PYTHON_USE_WITH_OPT="python" + +inherit multilib python versionator + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" +SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" +RESTRICT="test" + +DEPEND=">=dev-libs/boost-1.48[python?,threads(+)] + >=sys-devel/libtool-2.2 + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + use python && python_convert_shebangs -r 2 . +} + +src_configure() { + local myconf + + # bug 441842 + myconf="--disable-silent-rules" + + # use multi-threading versions of boost libs + if has_version '>=dev-libs/boost-1.52.0-r1'; then + myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}" + else + myconf+=" --with-boost-system=boost_system-mt \ + --with-boost-python=boost_python-${PYTHON_ABI}-mt" + fi + + local LOGGING + use debug && myconf+=" --enable-logging=verbose" + + econf $(use_enable debug) \ + $(use_enable test tests) \ + $(use_enable examples) \ + $(use_enable python python-binding) \ + $(use_enable ssl encryption) \ + $(use_enable static-libs static) \ + --with-boost-libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + use static-libs || find "${D}" -name '*.la' -exec rm -f {} + + dodoc ChangeLog AUTHORS NEWS README + if use doc; then + dohtml docs/* + fi +} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild new file mode 100644 index 000000000000..00757de8ae56 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.19.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" +SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.48:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-0.16.17-python.patch ) + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild new file mode 100644 index 000000000000..8a01bd11ea84 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" +SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.2-python.patch ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +} diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild new file mode 100644 index 000000000000..f8f4d390fc07 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" +SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.2-python.patch ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +} |