summaryrefslogtreecommitdiff
path: root/clean-dep.sh
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-04-21 22:52:18 -0400
committerjoe <joe@jerkface.net>2016-04-21 22:52:18 -0400
commited0ea3133b14d84cede60d8706e925f03db9da53 (patch)
treeb5b4c12ec31334a22610dd6b2d61468bca5731da /clean-dep.sh
parentdbe039a17b3e3ffa6f90c974f758a0b830f9fdba (diff)
Build fixes for Debian Jessie.
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)