Add snap-templates (split out of snap)
Clint Adams
7 years ago
0 | haskell-snap-templates (1.0.0.0-1) experimental; urgency=low | |
1 | ||
2 | * Initial release | |
3 | ||
4 | -- Clint Adams <clint@debian.org> Thu, 27 Oct 2016 14:45:41 -0400 |
0 | 10 |
0 | Source: haskell-snap-templates | |
1 | Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org> | |
2 | Uploaders: Clint Adams <clint@debian.org> | |
3 | Priority: extra | |
4 | Section: haskell | |
5 | Build-Depends: debhelper (>= 10), | |
6 | haskell-devscripts (>= 0.8), | |
7 | cdbs, | |
8 | ghc, | |
9 | ghc-prof, | |
10 | libghc-directory-tree-dev (>= 0.11), | |
11 | libghc-directory-tree-dev (<< 0.13), | |
12 | libghc-hashable-dev, | |
13 | libghc-old-time-dev (>= 1.0), | |
14 | libghc-old-time-dev (<< 1.2), | |
15 | libghc-text-dev (>= 0.11), | |
16 | libghc-text-dev (<< 1.3), | |
17 | Standards-Version: 3.9.8 | |
18 | Homepage: http://snapframework.com/ | |
19 | X-Description: scaffolding CLI for the Snap Framework | |
20 | This is the Scaffolding CLI for the official Snap Framework libraries. | |
21 | It includes: | |
22 | . | |
23 | * The "snap-framework" executable program for generating starter projects | |
24 | . | |
25 | To get started, issue the following sequence of commands: | |
26 | . | |
27 | $ cabal install snap-templates | |
28 | $ mkdir myproject | |
29 | $ cd myproject | |
30 | $ snap-framework init | |
31 | ||
32 | Package: snap-templates | |
33 | Architecture: any | |
34 | Depends: ${haskell:Depends}, | |
35 | ${misc:Depends}, | |
36 | ${shlibs:Depends}, | |
37 | Recommends: ${haskell:Recommends}, | |
38 | Suggests: ${haskell:Suggests}, | |
39 | Conflicts: ${haskell:Conflicts}, | |
40 | Provides: ${haskell:Provides}, | |
41 | Description: ${haskell:ShortDescription}${haskell:ShortBlurb} | |
42 | ${haskell:LongDescription} | |
43 | . | |
44 | ${haskell:Blurb} |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: snap-templates | |
2 | Upstream-Contact: snap@snapframework.com | |
3 | Source: https://hackage.haskell.org/package/snap-templates | |
4 | ||
5 | Files: * | |
6 | Copyright: 2009 Snap Framework authors (see CONTRIBUTORS) | |
7 | License: BSD-3-clause | |
8 | ||
9 | Files: debian/* | |
10 | Copyright: held by the contributors mentioned in debian/changelog | |
11 | License: BSD-3-clause | |
12 | ||
13 | License: BSD-3-clause | |
14 | Redistribution and use in source and binary forms, with or without | |
15 | modification, are permitted provided that the following conditions are met: | |
16 | . | |
17 | Redistributions of source code must retain the above copyright notice, this | |
18 | list of conditions and the following disclaimer. | |
19 | . | |
20 | Redistributions in binary form must reproduce the above copyright notice, this | |
21 | list of conditions and the following disclaimer in the documentation and/or | |
22 | other materials provided with the distribution. | |
23 | . | |
24 | Neither the name of the Snap Framework authors nor the names of its | |
25 | contributors may be used to endorse or promote products derived from this | |
26 | software without specific prior written permission. | |
27 | . | |
28 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | |
29 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
30 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
31 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
32 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
33 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
34 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
35 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
36 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
37 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 | --- a/snap-templates.cabal | |
1 | +++ b/snap-templates.cabal | |
2 | @@ -5,14 +5,14 @@ description: | |
3 | This is the Scaffolding CLI for the official Snap Framework libraries. | |
4 | It includes: | |
5 | . | |
6 | - * The \"snap\" executable program for generating starter projects | |
7 | + * The \"snap-framework\" executable program for generating starter projects | |
8 | . | |
9 | To get started, issue the following sequence of commands: | |
10 | . | |
11 | @$ cabal install snap-templates | |
12 | $ mkdir myproject | |
13 | $ cd myproject | |
14 | - $ snap init@ | |
15 | + $ snap-framework init@ | |
16 | . | |
17 | If you have trouble or any questions, see our FAQ page | |
18 | (<http://snapframework.com/faq>) or the documentation | |
19 | @@ -57,7 +57,7 @@ extra-source-files: | |
20 | test/snap-testsuite.cabal, | |
21 | test/runTestsAndCoverage.sh | |
22 | ||
23 | -Executable snap | |
24 | +Executable snap-framework | |
25 | hs-source-dirs: src | |
26 | main-is: Snap/Starter.hs | |
27 |
0 | rename-snap-binary |
0 | #!/usr/bin/make -f | |
1 | ||
2 | DEB_CABAL_PACKAGE = snap-templates | |
3 | DEB_DEFAULT_COMPILER = ghc | |
4 | ||
5 | include /usr/share/cdbs/1/rules/debhelper.mk | |
6 | include /usr/share/cdbs/1/class/hlibrary.mk | |
7 | ||
8 | build/snap-templates:: build-ghc-stamp |
0 | snap-framework |
0 | 3.0 (quilt) |