summaryrefslogtreecommitdiff
path: root/clean-dep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clean-dep.sh')
-rw-r--r--clean-dep.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/clean-dep.sh b/clean-dep.sh
new file mode 100644
index 0000000..2a1bfe2
--- /dev/null
+++ b/clean-dep.sh
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3# Clean up generated debian/control file for jessie build.
4
5mv debian/control debian/control.bad
6
7grep -v -- '-cryptonite-\|-hourglass-\|-memory-' debian/control.bad | sed '/-x509-/{ s/1.6/1.4/; }' > debian/control
8
9# dpkg-checkbuilddeps: Unmet build dependencies: libghc-cryptonite-dev libghc-cryptonite-prof libghc-hourglass-dev libghc-hourglass-prof libghc-memory-dev libghc-memory-prof libghc-x509-dev (>= 1.6) libghc-x509-prof (>= 1.6) libghc-cryptonite-doc libghc-hourglass-doc libghc-memory-doc libghc-x509-doc (>= 1.6)