From 21f0f4c17e9dc3b360f5df22540d06db26e13fb7 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 22 Nov 2014 13:39:02 +0200 Subject: Added go-lang based Syncthing and GoDep. Thanks mva :) --- app-misc/godep/godep-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-misc/godep/godep-9999.ebuild (limited to 'app-misc/godep/godep-9999.ebuild') diff --git a/app-misc/godep/godep-9999.ebuild b/app-misc/godep/godep-9999.ebuild new file mode 100644 index 00000000..38ba91da --- /dev/null +++ b/app-misc/godep/godep-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit git-r3 + +RESTRICT="strip" + +DESCRIPTION="native bindings for the FUSE kernel module" +HOMEPAGE="https://github.com/tools/godep" +EGIT_REPO_URI="https://github.com/tools/${PN}.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="dev-lang/go" +RDEPEND="" + +GO_PN="github.com/tools/${PN}" +EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}" + +export GOPATH="${S}" + +src_prepare() { + go get ${GO_PN} +} + +src_compile() { + go build -v -x -work ${GO_PN} || die +} + +src_install() { +# go install -v -x -work ${GO_PN} || die + +dobin ${S}/bin/godep +#insinto /usr/lib/go/ +#doins -r "${S}/pkg" +#insinto /usr/lib/go/src/pkg +#doins -r "${S}/src/." +} -- cgit v1.2.3