/[gentoo-x86]/net-p2p/bitcoind/bitcoind-0.6.0.10_rc4.ebuild
Gentoo

Diff of /net-p2p/bitcoind/bitcoind-0.6.0.10_rc4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 2010-2012 Gentoo Foundation 1# Copyright 2010-2013 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-p2p/bitcoind/Attic/bitcoind-0.6.0.10_rc4.ebuild,v 1.1 2012/10/29 01:31:05 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/Attic/bitcoind-0.6.0.10_rc4.ebuild,v 1.2 2013/01/13 22:34:40 blueness Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7DB_VER="4.8" 7DB_VER="4.8"
8 8
18SLOT="0" 18SLOT="0"
19KEYWORDS="~amd64 ~arm ~x86" 19KEYWORDS="~amd64 ~arm ~x86"
20IUSE="+eligius examples logrotate ssl upnp" 20IUSE="+eligius examples logrotate ssl upnp"
21 21
22RDEPEND=" 22RDEPEND="
23 >=dev-libs/boost-1.41.0 23 >=dev-libs/boost-1.41.0[threads(+)]
24 dev-libs/openssl[-bindist] 24 dev-libs/openssl[-bindist]
25 logrotate? ( 25 logrotate? (
26 app-admin/logrotate 26 app-admin/logrotate
27 ) 27 )
28 upnp? ( 28 upnp? (
48 use logrotate && epatch "${FILESDIR}/0.6.0.8-reopen_log_file.patch" 48 use logrotate && epatch "${FILESDIR}/0.6.0.8-reopen_log_file.patch"
49} 49}
50 50
51src_compile() { 51src_compile() {
52 OPTS=() 52 OPTS=()
53 local BOOST_PKG BOOST_VER BOOST_INC
54 53
55 OPTS+=("DEBUGFLAGS=") 54 OPTS+=("DEBUGFLAGS=")
56 OPTS+=("CXXFLAGS=${CXXFLAGS}") 55 OPTS+=("CXXFLAGS=${CXXFLAGS}")
57 OPTS+=("LDFLAGS=${LDFLAGS}") 56 OPTS+=("LDFLAGS=${LDFLAGS}")
58 57
59 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") 58 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
60 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") 59 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
61
62 BOOST_PKG="$(best_version 'dev-libs/boost')"
63 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
64 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
65 BOOST_INC="/usr/include/boost-${BOOST_VER}"
66 OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}")
67 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
68 60
69 use ssl && OPTS+=(USE_SSL=1) 61 use ssl && OPTS+=(USE_SSL=1)
70 if use upnp; then 62 if use upnp; then
71 OPTS+=(USE_UPNP=1) 63 OPTS+=(USE_UPNP=1)
72 else 64 else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20