# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit eutils DESCRIPTION="Riecoin crypto-currency daemon" HOMEPAGE="http://riecoin.org/" SRC_URI="mirror://sourceforge/${PN}/${P}-sources.zip" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND} dev-libs/openssl:0[-bindist] net-libs/miniupnpc dev-libs/boost sys-libs/db " src_unpack() { unpack ${A} # This archive contain 'src' directory as root mv src ${P} } src_prepare() { # db_cxx.h -> db4.8/db_cxx.h epatch "${FILESDIR}"/riecoin_path_db_cxx.patch } src_compile() { cd src # need to be executable chmod +x leveldb/build_detect_platform emake -f makefile.unix || die "emake failed..." } src_install() { dobin src/riecoind dodoc INSTALL COPYING README* }