Commit 47fade2c authored by Lorenzo Setale's avatar Lorenzo Setale

renames targets and hides echos as well as add target to build the deb

parent 01e88164
......@@ -21,20 +21,26 @@ unpack_ipfs: download_ipfs
tar -xvzf build/orig/ipfs-${IPFS_VERSION}-${ARCH}.tar.gz -C build/source/
.PHONY: unpack_ipfs
prepare_deb_pkg:
prepare_ipfs_deb: unpack_ipfs
mkdir -p build
cp -aR source/ipfs.deb build/
echo "Package: ipfs" >> build/ipfs.deb/control
# echo "Depends: " >> build/ipfs.deb/control
echo "Version: ${NUMBER_IPFS_VERSION}-siderus" >> build/ipfs.deb/control
echo "Maintainer: Siderus Team <hello@siderus.io>" >> build/ipfs.deb/control
echo "Architecture: ${ARCH}" >> build/ipfs.deb/control
echo "Description: IPFS is a global, versioned, peer-to-peer filesystem." >> build/ipfs.deb/control
echo " It combines good ideas from Git, BitTorrent, Kademlia," >> build/ipfs.deb/control
echo " SFS, and the Web. It is like a single bittorrent swarm," >> build/ipfs.deb/control
echo " exchanging git objects. IPFS provides an interface as" >> build/ipfs.deb/control
echo " simple as the HTTP web, but with permanence built in." >> build/ipfs.deb/control
echo " You can also mount the world at /ipfs." >> build/ipfs.deb/control
echo " This package is maintained and distributed by Siderus." >> build/ipfs.deb/control
# Creating the debian directory
.PHONY: prepare_deb_pkg
@echo "Package: ipfs" >> build/ipfs.deb/control
# @echo "Depends: " >> build/ipfs.deb/control
@echo "Version: ${NUMBER_IPFS_VERSION}-siderus" >> build/ipfs.deb/control
@echo "Maintainer: Siderus Team <hello@siderus.io>" >> build/ipfs.deb/control
@echo "Architecture: ${ARCH}" >> build/ipfs.deb/control
@echo "Description: IPFS is a global, versioned, peer-to-peer filesystem." >> build/ipfs.deb/control
@echo " It combines good ideas from Git, BitTorrent, Kademlia," >> build/ipfs.deb/control
@echo " SFS, and the Web. It is like a single bittorrent swarm," >> build/ipfs.deb/control
@echo " exchanging git objects. IPFS provides an interface as" >> build/ipfs.deb/control
@echo " simple as the HTTP web, but with permanence built in." >> build/ipfs.deb/control
@echo " You can also mount the world at /ipfs." >> build/ipfs.deb/control
@echo " This package is maintained and distributed by Siderus." >> build/ipfs.deb/control
# Move the source here
cp -aR build/source/go-ipfs build/ipfs.deb/
.PHONY: prepare_ipfs_deb
build_ipfs_deb:
cd build/ipfs.deb ;\
dpkg-buildpackage -us -uc
.PHONY: build_ipfs_deb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment