Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541274 | Differences between
and this patch

Collapse All | Expand All

(-)go-fuse-9999.ebuild (-11 / +11 lines)
Lines 4-30 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit git-r3
8
9
RESTRICT="strip"
7
RESTRICT="strip"
10
8
11
DESCRIPTION="native bindings for the FUSE kernel module"
9
DESCRIPTION="native bindings for the FUSE kernel module"
12
HOMEPAGE="https://github.com/hanwen/go-fuse"
10
HOMEPAGE="https://github.com/hanwen/go-fuse"
13
EGIT_REPO_URI="https://github.com/hanwen/go-fuse.git"
14
11
15
LICENSE="BSD"
12
LICENSE="BSD"
16
SLOT="0"
13
SLOT="0"
17
KEYWORDS=""
14
KEYWORDS=""
18
IUSE=""
15
IUSE=""
19
16
20
DEPEND=">=dev-lang/go-1.3"
17
DEPEND=">=dev-lang/go-1.4"
21
RDEPEND=""
18
RDEPEND=""
22
19
23
GO_PN="github.com/hanwen/${PN}"
20
GO_PN="github.com/hanwen/${PN}"
24
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
25
21
26
export GOPATH="${S}"
22
export GOPATH="${S}"
27
23
24
src_unpack() {
25
	go get -d -u -v -x ${GO_PN} || die
26
}
27
28
src_compile() {
28
src_compile() {
29
#no examples right now
29
#no examples right now
30
#    example/hello example/loopback example/zipfs \
30
#    example/hello example/loopback example/zipfs \
Lines 44-56 Link Here
44
	go install -v -x -work ${GO_PN}/${d} || die
44
	go install -v -x -work ${GO_PN}/${d} || die
45
done
45
done
46
46
47
insinto /usr/lib/go/
47
insinto /usr/lib/go
48
doins -r "${S}/pkg"
48
doins -r pkg
49
insinto "/usr/lib/go/src/pkg/${GO_PN}/"
49
insinto /usr/lib/go/src
50
#for this ebuild, to fix bug #503324 I have limited what is installed
50
#for this ebuild, to fix bug #503324 I have limited what is installed
51
#another possible solution would have been using adddeny to the
51
#another possible solution would have been using adddeny to the
52
#hide installed filed during build
52
#hide installed filed during build
53
rm -r "${S}/src/${GO_PN}/.git"
53
rm -r src/${GO_PN}/.git
54
doins -r "${S}/src/${GO_PN}/fuse"
54
doins -r src/${GO_PN}/fuse
55
doins -r "${S}/src/${GO_PN}/splice"
55
doins -r src/${GO_PN}/splice
56
}
56
}

Return to bug 541274