summaryrefslogtreecommitdiff
path: root/app-misc/godep/godep-9999.ebuild
blob: 38ba91da43b7ac193a0e39aea88083cf07ca5da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/."
}