Created
November 15, 2015 14:55
-
-
Save wiedi/2c15faabd2dedd943cc8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/filesystems/ipfs/DESCR b/filesystems/ipfs/DESCR | |
new file mode 100644 | |
index 0000000..ebf0d67 | |
--- /dev/null | |
+++ b/filesystems/ipfs/DESCR | |
@@ -0,0 +1,5 @@ | |
+Ipfs is a global, versioned, peer-to-peer filesystem. It combines good ideas | |
+from Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single | |
+bittorrent swarm, exchanging git objects. IPFS provides an interface as simple | |
+as the HTTP web, but with permanence built in. You can also mount the world | |
+at /ipfs. | |
diff --git a/filesystems/ipfs/Makefile b/filesystems/ipfs/Makefile | |
new file mode 100644 | |
index 0000000..21bfff9 | |
--- /dev/null | |
+++ b/filesystems/ipfs/Makefile | |
@@ -0,0 +1,36 @@ | |
+# $NetBSD$ | |
+ | |
+GITHUB_PROJECT= go-ipfs | |
+VERSION= 0.3.9 | |
+DISTNAME= v${VERSION} | |
+PKGNAME= ipfs-${VERSION} | |
+CATEGORIES= filesystems | |
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ipfs/} | |
+DIST_SUBDIR= ${GITHUB_PROJECT} | |
+ | |
+MAINTAINER= [email protected] | |
+HOMEPAGE= https://ipfs.io/ | |
+COMMENT= IPFS implementation in go | |
+LICENSE= mit | |
+ | |
+USE_LANGUAGES= # go | |
+USE_TOOLS+= gmake | |
+ | |
+NO_CONFIGURE= yes | |
+TEST_TARGET= test | |
+BUILD_TARGET= build | |
+INSTALLATION_DIRS= bin | |
+ | |
+BUILD_DEPENDS+= go-[0-9]*:../../lang/go | |
+ | |
+WRKSRC= ${WRKDIR}/go-ipfs-${VERSION} | |
+MAKE_ENV+= GOPATH=${WRKDIR}/gopath | |
+ | |
+post-extract: | |
+ ${MKDIR} ${WRKDIR}/gopath/src/github.com/ipfs | |
+ ${LN} -s ${WRKSRC} ${WRKDIR}/gopath/src/github.com/ipfs/go-ipfs | |
+ | |
+do-install: | |
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmd/ipfs/ipfs ${DESTDIR}/${PREFIX}/bin | |
+ | |
+.include "../../mk/bsd.pkg.mk" | |
diff --git a/filesystems/ipfs/PLIST b/filesystems/ipfs/PLIST | |
new file mode 100644 | |
index 0000000..c501524 | |
--- /dev/null | |
+++ b/filesystems/ipfs/PLIST | |
@@ -0,0 +1,2 @@ | |
+@comment $NetBSD$ | |
+bin/ipfs | |
diff --git a/filesystems/ipfs/distinfo b/filesystems/ipfs/distinfo | |
new file mode 100644 | |
index 0000000..241dec9 | |
--- /dev/null | |
+++ b/filesystems/ipfs/distinfo | |
@@ -0,0 +1,6 @@ | |
+$NetBSD$ | |
+ | |
+SHA1 (go-ipfs/v0.3.9.tar.gz) = f019b810cf3d74666f62b4d3ef946613521b63b5 | |
+RMD160 (go-ipfs/v0.3.9.tar.gz) = 0486586ae88ba4d9cf1170f781d2e612e0a7a0f9 | |
+SHA512 (go-ipfs/v0.3.9.tar.gz) = 34d441f3dee23fb3002b319a5d925f4a436f80c25cbaf100c5cd13686fd4e0cc18864f11da7ac163fead78149d26a9cfac30a884e191cd019b841bd2672ee643 | |
+Size (go-ipfs/v0.3.9.tar.gz) = 2791618 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment