summaryrefslogtreecommitdiff
path: root/clean-dep.sh
blob: 2a1bfe2b27d8964b0889237e89800f0d39cfdbf9 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Clean up generated debian/control file for jessie build.

mv debian/control debian/control.bad

grep -v -- '-cryptonite-\|-hourglass-\|-memory-'  debian/control.bad | sed '/-x509-/{ s/1.6/1.4/; }' > debian/control

# 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)