aboutsummaryrefslogtreecommitdiffstats
path: root/build/deb/ethereum
diff options
context:
space:
mode:
Diffstat (limited to 'build/deb/ethereum')
-rw-r--r--build/deb/ethereum/deb.changelog5
-rw-r--r--build/deb/ethereum/deb.control25
-rw-r--r--build/deb/ethereum/deb.copyright14
-rw-r--r--build/deb/ethereum/deb.docs1
-rw-r--r--build/deb/ethereum/deb.install1
-rw-r--r--build/deb/ethereum/deb.rules13
6 files changed, 59 insertions, 0 deletions
diff --git a/build/deb/ethereum/deb.changelog b/build/deb/ethereum/deb.changelog
new file mode 100644
index 000000000..83f804a83
--- /dev/null
+++ b/build/deb/ethereum/deb.changelog
@@ -0,0 +1,5 @@
+{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low
+
+ * git build of {{.Env.Commit}}
+
+ -- {{.Author}} {{.Time}}
diff --git a/build/deb/ethereum/deb.control b/build/deb/ethereum/deb.control
new file mode 100644
index 000000000..e693d1d04
--- /dev/null
+++ b/build/deb/ethereum/deb.control
@@ -0,0 +1,25 @@
+Source: {{.Name}}
+Section: science
+Priority: extra
+Maintainer: {{.Author}}
+Build-Depends: debhelper (>= 8.0.0), golang-1.10
+Standards-Version: 3.9.5
+Homepage: https://ethereum.org
+Vcs-Git: git://github.com/ethereum/go-ethereum.git
+Vcs-Browser: https://github.com/ethereum/go-ethereum
+
+Package: {{.Name}}
+Architecture: any
+Depends: ${misc:Depends}, {{.EthereumSwarmPackageName}}, {{.ExeList}}
+Description: Meta-package to install geth, swarm, and other tools
+ Meta-package to install geth, swarm and other tools
+
+{{range .Executables}}
+Package: {{$.ExeName .}}
+Conflicts: {{$.ExeConflicts .}}
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Built-Using: ${misc:Built-Using}
+Description: {{.Description}}
+ {{.Description}}
+{{end}}
diff --git a/build/deb/ethereum/deb.copyright b/build/deb/ethereum/deb.copyright
new file mode 100644
index 000000000..fe6e36ad9
--- /dev/null
+++ b/build/deb/ethereum/deb.copyright
@@ -0,0 +1,14 @@
+Copyright 2018 The go-ethereum Authors
+
+go-ethereum is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+go-ethereum is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
diff --git a/build/deb/ethereum/deb.docs b/build/deb/ethereum/deb.docs
new file mode 100644
index 000000000..62deb0497
--- /dev/null
+++ b/build/deb/ethereum/deb.docs
@@ -0,0 +1 @@
+AUTHORS
diff --git a/build/deb/ethereum/deb.install b/build/deb/ethereum/deb.install
new file mode 100644
index 000000000..e7666ce5f
--- /dev/null
+++ b/build/deb/ethereum/deb.install
@@ -0,0 +1 @@
+build/bin/{{.BinaryName}} usr/bin
diff --git a/build/deb/ethereum/deb.rules b/build/deb/ethereum/deb.rules
new file mode 100644
index 000000000..7f286569e
--- /dev/null
+++ b/build/deb/ethereum/deb.rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+override_dh_auto_build:
+ build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
+
+override_dh_auto_test:
+
+%:
+ dh $@