]> gitweb.michael.orlitzky.com - dead/lwn-epub.git/blob - lwn-epub.cabal
1d104b69fd837adc3f397a7039b374bd3c74dbf3
[dead/lwn-epub.git] / lwn-epub.cabal
1 name: lwn-epub
2 version: 0.0.2
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/lwn-epub.php
9 bug-reports: mailto:michael@orlitzky.com
10 build-type: Simple
11 category: Text
12 synopsis:
13 Convert issues of LWN (lwn.net) to EPUB format.
14 description:
15 A command-line utility that downloads an LWN article (or issue), cleans it
16 up, and writes it to EPUB with a stylesheet that looks decent on the Kindle.
17 It can use account credentials to log in and access the current edition.
18 data-files: makefile doc/README
19
20 executable lwn-epub
21 build-depends:
22 base == 4.5.*,
23 bytestring == 0.9.*,
24 cmdargs == 0.10.*,
25 ConfigFile == 1.*,
26 containers == 0.*,
27 directory == 1.1.*,
28 filepath == 1.3.*,
29 HandsomeSoup == 0.3.*,
30 http-conduit == 1.6.*,
31 http-types == 0.7.*,
32 hxt == 9.*,
33 MissingH == 1.1.*,
34 network == 2.3.*,
35 pandoc == 1.9.*,
36 parallel-io == 0.3.*,
37 regex-posix == 0.95.*,
38 temporary == 1.*,
39 time == 1.*,
40 utf8-string == 0.3.*,
41 -- Additional test dependencies.
42 HUnit == 1.2.*,
43 test-framework == 0.6.*,
44 test-framework-hunit == 0.2.*
45
46 main-is:
47 Main.hs
48
49 hs-source-dirs:
50 src/
51
52 other-modules:
53 CommandLine
54 Configuration
55 ExitCodes
56 LWN.Article
57 LWN.HTTP
58 LWN.Page
59 LWN.URI
60 LWN.XHTML
61 Misc
62
63 ghc-options:
64 -Wall
65 -fwarn-hi-shadowing
66 -fwarn-missing-signatures
67 -fwarn-name-shadowing
68 -fwarn-orphans
69 -fwarn-type-defaults
70 -fwarn-tabs
71 -fwarn-incomplete-record-updates
72 -fwarn-monomorphism-restriction
73 -fwarn-unused-do-bind
74 -rtsopts
75 -threaded
76 -O2
77 -optc-O3
78 -optc-march=native
79
80
81 test-suite testsuite
82 type: exitcode-stdio-1.0
83 hs-source-dirs: src test
84 main-is: TestSuite.hs
85 build-depends:
86 base == 4.5.*,
87 bytestring == 0.9.*,
88 cmdargs == 0.10.*,
89 ConfigFile == 1.*,
90 containers == 0.*,
91 directory == 1.1.*,
92 filepath == 1.3.*,
93 HandsomeSoup == 0.3.*,
94 http-conduit == 1.6.*,
95 http-types == 0.7.*,
96 hxt == 9.*,
97 MissingH == 1.1.*,
98 network == 2.3.*,
99 pandoc == 1.9.*,
100 parallel-io == 0.3.*,
101 regex-posix == 0.95.*,
102 temporary == 1.*,
103 time == 1.*,
104 utf8-string == 0.3.*,
105 -- Additional test dependencies.
106 HUnit == 1.2.*,
107 test-framework == 0.6.*,
108 test-framework-hunit == 0.2.*
109
110 -- It's not entirely clear to me why I have to reproduce all of this.
111 ghc-options:
112 -rtsopts
113 -threaded
114 -O2
115 -optc-O3
116 -optc-march=native
117
118
119 source-repository head
120 type: git
121 location: http://michael.orlitzky.com/git/lwn-epub.git
122 branch: master