summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2014-04-12 22:07:08 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2014-04-12 22:07:08 +0200
commitbd69c2380c56d6fe7651686c9768ce09cafe4452 (patch)
treefef2fedf006d66c43b43ffa8b21a4c4a63086b30 /debian
parentf65a2e63f18071f02f8e9ade7e1eda978ea0e85b (diff)
Now it builds under pbuilder chroot environment
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rw-r--r--debian/patches/gitrevision.diff13
-rw-r--r--debian/patches/series1
3 files changed, 16 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 1e1d4d87..1a5dd26b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: yosys
Section: universe/electronics
Priority: extra
Maintainer: Ruben Undheim <ruben.undheim@gmail.com>
-Build-Depends: debhelper (>= 9), tcl8.5-dev, libqt4-dev
+Build-Depends: debhelper (>= 9), tcl8.5-dev, libqt4-dev, libqt4-opengl-dev, libqtwebkit-dev, libreadline-dev, git, zlib1g-dev, bison, flex, mercurial, iverilog, minisat
Standards-Version: 3.9.2
Homepage: http://www.clifford.at/yosys
#Vcs-Git: https://github.com/cliffordwolf/yosys.git
Package: yosys
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, iverilog, graphviz
Description: Open source synthesis of digital circuits
yosys is a complete package for the synthesis from RTL to gate-level logic.
diff --git a/debian/patches/gitrevision.diff b/debian/patches/gitrevision.diff
new file mode 100644
index 00000000..14af5f34
--- /dev/null
+++ b/debian/patches/gitrevision.diff
@@ -0,0 +1,13 @@
+Index: yosys-0.2.0+/Makefile
+===================================================================
+--- yosys-0.2.0+.orig/Makefile 2014-04-12 19:30:08.659862767 +0200
++++ yosys-0.2.0+/Makefile 2014-04-12 21:44:51.699931454 +0200
+@@ -40,7 +40,7 @@
+ endif
+
+ YOSYS_VER := 0.2.0+
+-GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN)
++GIT_REV := d18c10d
+ OBJS = kernel/version_$(GIT_REV).o
+
+ # set 'ABCREV = default' to use abc/ as it is
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..082fb6f6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gitrevision.diff