Permalink
Browse files

Debianize

  • Loading branch information...
1 parent 05c9e6b commit dcb58a10edbc399716af754331b9848f378200ff @singpolyma committed Apr 12, 2012
Showing with 459 additions and 1 deletion.
  1. +7 −0 .gitignore
  2. +6 −1 Makefile
  3. +6 −0 debian/changelog
  4. +1 −0 debian/compat
  5. +67 −0 debian/control
  6. +365 −0 debian/copyright
  7. +7 −0 debian/rules
View
@@ -3,3 +3,10 @@
*.swp
report.html
dist/*
+dist-ghc/*
+build-*-stamp
+debian/files
+debian/hlibrary.setup
+debian/libghc*
+debian/tmp*
+debian/dh_*
View
@@ -3,13 +3,15 @@ GHCFLAGS=-Wall -XNoCPP -fno-warn-name-shadowing -XHaskell98 -O2
HLINTFLAGS=-XHaskell98 -XNoCPP -i 'Use camelCase' -i 'Use String' -i 'Use head' -i 'Use string literal' -i 'Use list comprehension' --utf8
VERSION=0.1
-.PHONY: all shell clean doc install
+.PHONY: all shell clean doc install debian
all: dist/build/libHSgit-date-$(VERSION).a dist/git-date-$(VERSION).tar.gz
install: dist/build/libHSgit-date-$(VERSION).a
cabal install
+debian: debian/control
+
shell:
ghci $(GHCFLAGS)
@@ -33,6 +35,9 @@ dist/setup-config: git-date.cabal
clean:
find -name '*.o' -o -name '*.hi' | xargs $(RM)
+debian/control: git-date.cabal
+ cabal-debian --update-debianization
+
dist/build/libHSgit-date-$(VERSION).a: Data/Time/Git.hs ext/date.c dist/setup-config
cabal build --ghc-options="$(GHCFLAGS)" --gcc-options="$(CFLAGS)"
View
@@ -0,0 +1,6 @@
+haskell-git-date (0.1-1~hackage1) unstable; urgency=low
+
+ * Debianization generated by cabal-debian
+
+ -- Stephen Paul Weber <singpolyma@singpolyma.net> Thu, 12 Apr 2012 14:20:30 -0500
+
View
@@ -0,0 +1 @@
+7
View
@@ -0,0 +1,67 @@
+Source: haskell-git-date
+Priority: extra
+Section: haskell
+Maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
+Build-Depends: debhelper (>= 7.0),
+ haskell-devscripts (>= 0.8),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-utf8-string-dev,
+ libghc-utf8-string-prof
+Build-Depends-Indep: ghc-doc,
+ libghc-utf8-string-doc
+Standards-Version: 3.9.1
+Homepage: https://github.com/singpolyma/git-date-haskell
+
+Package: libghc-git-date-dev
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${haskell:Depends},
+ ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: Bindings to the date parsing from Git.
+ This library implements a simple, pure binding onto the date parsing
+ code from git. Why? Because it was the only reasonable implementation
+ of a generic date parser I could find.
+ .
+ Author: Stephen Paul Weber <singpolyma@singpolyma.net>
+ Upstream-Maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
+ .
+ This package contains the normal library files.
+
+Package: libghc-git-date-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: Bindings to the date parsing from Git.
+ This library implements a simple, pure binding onto the date parsing
+ code from git. Why? Because it was the only reasonable implementation
+ of a generic date parser I could find.
+ .
+ Author: Stephen Paul Weber <singpolyma@singpolyma.net>
+ Upstream-Maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
+ .
+ This package contains the libraries compiled with profiling enabled.
+
+Package: libghc-git-date-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: Bindings to the date parsing from Git.
+ This library implements a simple, pure binding onto the date parsing
+ code from git. Why? Because it was the only reasonable implementation
+ of a generic date parser I could find.
+ .
+ Author: Stephen Paul Weber <singpolyma@singpolyma.net>
+ Upstream-Maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
+ .
+ This package contains the documentation files.
Oops, something went wrong.

0 comments on commit dcb58a1

Please sign in to comment.