Initial packaging for Debian

This adds some source files, a script and skeleton for building
a Debian package that installs the zcash daemon and CLI tool.
Also removes unused Bitcoin files.
This commit is contained in:
Kevin Gallagher
2016-10-13 13:15:14 -07:00
parent 49fc58b782
commit b5718a5a57
36 changed files with 223 additions and 1480 deletions

37
contrib/DEBIAN/preinst Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/sh
# preinst script for zcash
#
# see: dh_installdeb(1)
set -e
#set -x
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install)
;;
upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0