net-misc/geoipmap - 9999 (ubuilds)

Search

Install

Install this version:

emerge -a =net-misc/geoipmap-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/geoipmap-9999

Or alternatively:

emerge --autounmask-write -a =net-misc/geoipmap-9999

Package Information

Description:
View ip accesses to your server on a world map (using geoip and d3.js)
Homepage:
https://github.com/tomerdmnt/geoipmap
License:
WTFPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 6 ~x86 ~amd64 0
View Raw Ebuild
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=6
inherit git-r3 eutils
DESCRIPTION="View ip accesses to your server on a world map (using geoip and d3.js)"
HOMEPAGE="https://github.com/tomerdmnt/geoipmap"
SRC_URI=""
EGIT_REPO_URI="https://github.com/tomerdmnt/geoipmap.git"

LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="dev-lang/go"
RDEPEND="${DEPEND}"

src_compile(){
	export GOPATH=${WORKDIR}

	ebegin "getting code"
	go get -d || die 'could not get'
	eend $?
	ebegin "building code"
	go build -o ${PN} || die 'could not build'
	eend $?
}

src_install() {
	insinto /usr/bin
	dobin ${PN}
}

Inherited Eclasses

Dependencies

DEPEND

dev-lang/go

RDEPEND

dev-lang/go