View Raw Ebuild
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
DESCRIPTION="Native bindings for the FUSE kernel module for Go"
HOMEPAGE="https://github.com/hanwen/go-fuse/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=dev-lang/go-1.1.1"
RDEPEND="${DEPEND}"
pkg_setup() {
if [[ ! -e "${GOPATH}" ]] ; then
eerror "The GOPATH variable must be set and point to an existing directory"
die "The GOPATH variable must be set and point to an existing directory"
fi
}
src_unpack() {
#Fake the unpack
mkdir -p ${P}
}
src_install() {
#Fake the install
mkdir -p ${D}
}
pkg_postinst(){
go get github.com/hanwen/go-fuse/fuse
}