From 4500636f410fd723a43d8ec4c06fd53f0b86be7e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 15 Apr 2019 12:43:03 -0700 Subject: initial packaging for athena's apt repo --- debian/changelog | 5 +++++ debian/clean | 1 + debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/install | 1 + debian/rules | 8 ++++++++ debian/source/format | 1 + 7 files changed, 37 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..144f1cb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sscan (0.1+git20190415.81794a3-1~athena1) stretch; urgency=medium + + * packaging for athena's apt repo + + -- Sean Whitton Mon, 15 Apr 2019 12:42:58 -0700 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..d0b81e5 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +debian/stack diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2d0a173 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: sscan +Section: text +Priority: optional +Maintainer: Sean Whitton +Build-Depends: + debhelper (>= 10), + haskell-stack, + libtinfo-dev, + netbase, + +Package: sscan +Architecture: any +Depends: + imagemagick, + ocrmypdf, + pdftk, + sane-utils, + ${misc:Depends}, + ${shlibs:Depends}, +Description: text UI for scanning with SANE diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..0b3acb0 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +.stack-work/install/*/*/*/bin/sscan usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9d14c40 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + stack --stack-root $(shell pwd)/debian/stack setup + stack --stack-root $(shell pwd)/debian/stack build diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3