summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/namecoind/namecoind-0.3.72.ebuild')
-rw-r--r--net-p2p/namecoind/namecoind-0.3.72.ebuild77
1 files changed, 0 insertions, 77 deletions
diff --git a/net-p2p/namecoind/namecoind-0.3.72.ebuild b/net-p2p/namecoind/namecoind-0.3.72.ebuild
deleted file mode 100644
index a0a4320..0000000
--- a/net-p2p/namecoind/namecoind-0.3.72.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2010-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-DB_VER="4.8"
-
-inherit db-use eutils toolchain-funcs
-
-DESCRIPTION="A P2P network based domain name system"
-HOMEPAGE="https://dot-bit.org/"
-SRC_URI="https://github.com/namecoinq/namecoinq/archive/v${PV/0/Q}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT ISC cryptopp"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ssl upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/crypto++
- dev-libs/openssl[-bindist]
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
-"
-
-S="${WORKDIR}/namecoinq-v${PV/0/Q}"
-
-pkg_setup() {
- local UG='namecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/namecoin "${UG}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/namecoind-0.3.72-makefile.patch
-}
-
-src_compile() {
- local OPTS=()
-
- OPTS+=("CXXFLAGS=${CXXFLAGS} -I$(db_includedir "${DB_VER}")")
- OPTS+=("LDFLAGS=${LDFLAGS} -ldb_cxx-${DB_VER}")
-
- use ssl && OPTS+=(USE_SSL=1)
- use upnp && OPTS+=(USE_UPNP=1)
-
- cd src || die
- emake CXX="$(tc-getCXX)" "${OPTS[@]}" ${PN}
-}
-
-src_install() {
- dobin src/${PN}
-
- insinto /etc/namecoin
- doins "${FILESDIR}/namecoin.conf"
- fowners namecoin:namecoin /etc/namecoin/namecoin.conf
- fperms 600 /etc/namecoin/namecoin.conf
-
- newconfd "${FILESDIR}/namecoin.confd" ${PN}
- newinitd "${FILESDIR}/namecoin.initd" ${PN}
-
- keepdir /var/lib/namecoin/.namecoin
- fperms 700 /var/lib/namecoin
- fowners namecoin:namecoin /var/lib/namecoin/
- fowners namecoin:namecoin /var/lib/namecoin/.namecoin
- dosym /etc/namecoin/namecoin.conf /var/lib/namecoin/.namecoin/bitcoin.conf
-
- dodoc doc/README
- dodoc DESIGN-namecoin.md FAQ.md doc/README_merged-mining.md
-}