summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-10-21 00:58:01 +0000
committerRick Farina <zerochaos@gentoo.org>2013-10-21 00:58:01 +0000
commit00e481467358aef9ddb4a07807a68b5e40270738 (patch)
tree90d512e57cd9e3ffed65ad93293ccd9a3a8c121f /dev-libs/go-fuse
parentversion bump (diff)
downloadgentoo-2-00e481467358aef9ddb4a07807a68b5e40270738.tar.gz
gentoo-2-00e481467358aef9ddb4a07807a68b5e40270738.tar.bz2
gentoo-2-00e481467358aef9ddb4a07807a68b5e40270738.zip
go-fuse initial commit. installs everything, likely improperly. addings as a dep for go-mtpfs
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'dev-libs/go-fuse')
-rw-r--r--dev-libs/go-fuse/ChangeLog10
-rw-r--r--dev-libs/go-fuse/go-fuse-9999.ebuild52
-rw-r--r--dev-libs/go-fuse/metadata.xml10
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-libs/go-fuse/ChangeLog b/dev-libs/go-fuse/ChangeLog
new file mode 100644
index 000000000000..06c34c6d6a63
--- /dev/null
+++ b/dev-libs/go-fuse/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/go-fuse
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/ChangeLog,v 1.1 2013/10/21 00:58:01 zerochaos Exp $
+
+*go-fuse-9999 (21 Oct 2013)
+
+ 21 Oct 2013; Rick Farina <zerochaos@gentoo.org> +go-fuse-9999.ebuild,
+ +metadata.xml:
+ go-fuse initial commit. installs everything, likely improperly. addings as a
+ dep for go-mtpfs
diff --git a/dev-libs/go-fuse/go-fuse-9999.ebuild b/dev-libs/go-fuse/go-fuse-9999.ebuild
new file mode 100644
index 000000000000..a3937b5e34b0
--- /dev/null
+++ b/dev-libs/go-fuse/go-fuse-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/go-fuse-9999.ebuild,v 1.1 2013/10/21 00:58:01 zerochaos Exp $
+
+EAPI=5
+
+inherit git-r3 multilib
+
+RESTRICT="strip"
+
+DESCRIPTION="native bindings for the FUSE kernel module"
+HOMEPAGE="https://github.com/hanwen/go-fuse"
+EGIT_REPO_URI="https://github.com/hanwen/go-fuse.git"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-lang/go"
+RDEPEND=""
+
+GO_PN="github.com/hanwen/${PN}"
+EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
+
+export GOPATH="${S}"
+
+src_compile() {
+#no examples right now
+# example/hello example/loopback example/zipfs \
+# example/multizip example/unionfs example/memfs \
+# example/autounionfs ; \
+#or tests
+#fuse/test
+for d in fuse fuse/pathfs zipfs unionfs
+do
+ go build -v -x -work ${GO_PN}/${d} || die
+done
+}
+
+src_install() {
+for d in fuse fuse/pathfs zipfs unionfs
+do
+ go install -v -x -work ${GO_PN}/${d} || die
+done
+
+#insinto /usr/$(get_libdir)
+#insinto /usr/lib/go/src/pkg/${GO_PN}/
+#doins -r "${S}/pkg/linux_${ARCH}/${GO_PN}/."
+insinto /usr/lib/go/
+doins -r "${S}/."
+}
diff --git a/dev-libs/go-fuse/metadata.xml b/dev-libs/go-fuse/metadata.xml
new file mode 100644
index 000000000000..4b6b68191d89
--- /dev/null
+++ b/dev-libs/go-fuse/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>zerochaos@gentoo.org</email>
+<name>Rick Farina</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>