Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
apt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Qm64
apt
Commits
cf5127f2
Commit
cf5127f2
authored
Aug 14, 2018
by
Lorenzo Setale
⭐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first take on packing ipfs for debian
parent
eacbca1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
makefiles/ipfs.mk
makefiles/ipfs.mk
+37
-0
No files found.
makefiles/ipfs.mk
0 → 100644
View file @
cf5127f2
# This file contains quick phony targets to build IPFS packages
ARCH
?=
amd64
OS
?=
linux
IPFS_VERSION
=
$(
shell
curl https://dist.ipfs.io/go-ipfs/versions |
tail
-n
1
)
NUMBER_IPFS_VERSION
=
$(
shell
echo
${IPFS_VERSION}
|
sed
's/v//'
)
download_ipfs
:
mkdir
-p
build/orig/
curl
-L
--output
build/orig/ipfs-
${IPFS_VERSION}
-
${ARCH}
.tar.gz
\
https://dist.ipfs.io/go-ipfs/
${IPFS_VERSION}
/go-ipfs_
${IPFS_VERSION}
_
${OS}
-
${ARCH}
.tar.gz
.PHONY
:
download_ipfs
unpack_ipfs
:
download_ipfs
rm
-rf
build/source/
mkdir
-p
build/source/
tar
-xvzf
build/orig/ipfs-
${IPFS_VERSION}
-
${ARCH}
.tar.gz
-C
build/source/
.PHONY
:
unpack_ipfs
prepare_deb_pkg
:
echo
"Section: ipfs"
>
build/ipfs-deb
echo
"Priority: optional"
>>
build/ipfs-deb
echo
"Standards-Version:
${NUMBER_IPFS_VERSION}
"
>>
build/ipfs-deb
echo
""
>>
build/ipfs-deb
echo
"Package: ipfs"
>>
build/ipfs-deb
echo
"Version:
${NUMBER_IPFS_VERSION}
-siderus"
>>
build/ipfs-deb
echo
"Maintainer: Siderus Team <hello@siderus.io>"
>>
build/ipfs-deb
echo
"Architecture:
${ARCH}
"
>>
build/ipfs-deb
echo
"Description: IPFS is a global, versioned, peer-to-peer filesystem."
>>
build/ipfs-deb
echo
" It combines good ideas from Git, BitTorrent, Kademlia,"
>>
build/ipfs-deb
echo
" SFS, and the Web. It is like a single bittorrent swarm,"
>>
build/ipfs-deb
echo
" exchanging git objects. IPFS provides an interface as"
>>
build/ipfs-deb
echo
" simple as the HTTP web, but with permanence built in."
>>
build/ipfs-deb
echo
" You can also mount the world at /ipfs."
>>
build/ipfs-deb
echo
" This package is maintained and distributed by Siderus."
>>
build/ipfs-deb
.PHONY
:
prepare_deb_pkg
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment