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

Diff of /net-p2p/bitcoind/bitcoind-0.7.1.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-2012 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.7.1.ebuild,v 1.1 2012/10/29 01:31:05 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/Attic/bitcoind-0.7.1.ebuild,v 1.2 2012/11/09 18:30:38 flameeyes 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 ipv6 logrotate upnp" 20IUSE="+eligius examples ipv6 logrotate 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? (
47 use eligius && epatch "${WORKDIR}/0.7.1-eligius_sendfee.patch" 47 use eligius && epatch "${WORKDIR}/0.7.1-eligius_sendfee.patch"
48} 48}
49 49
50src_compile() { 50src_compile() {
51 OPTS=() 51 OPTS=()
52 local BOOST_PKG BOOST_VER BOOST_INC
53 52
54 OPTS+=("DEBUGFLAGS=") 53 OPTS+=("DEBUGFLAGS=")
55 OPTS+=("CXXFLAGS=${CXXFLAGS}") 54 OPTS+=("CXXFLAGS=${CXXFLAGS}")
56 OPTS+=("LDFLAGS=${LDFLAGS}") 55 OPTS+=("LDFLAGS=${LDFLAGS}")
57 56
58 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") 57 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
59 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") 58 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
60
61 BOOST_PKG="$(best_version 'dev-libs/boost')"
62 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
63 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
64 BOOST_INC="/usr/include/boost-${BOOST_VER}"
65 OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}")
66 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
67 59
68 if use upnp; then 60 if use upnp; then
69 OPTS+=(USE_UPNP=1) 61 OPTS+=(USE_UPNP=1)
70 else 62 else
71 OPTS+=(USE_UPNP=) 63 OPTS+=(USE_UPNP=)

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

  ViewVC Help
Powered by ViewVC 1.1.20