summaryrefslogtreecommitdiff
path: root/p/haskell-pcre-light
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2010-02-11 23:57:38 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2010-02-11 23:57:38 +0300
commit38a88025264159576e8ede7564f856abeae01004 (patch)
treef9af1975b6474543942aeabe3b854bd1ab6b70fc /p/haskell-pcre-light
parent3ccb4fae0fa1310eb116371ae1230dcaddaf8c36 (diff)
downloadDHG_packages-38a88025264159576e8ede7564f856abeae01004.tar.gz
haskell-pcre-light: Adopt by Debian Haskell Group
Diffstat (limited to 'p/haskell-pcre-light')
-rw-r--r--p/haskell-pcre-light/debian/changelog6
-rw-r--r--p/haskell-pcre-light/debian/compat2
-rw-r--r--p/haskell-pcre-light/debian/control41
-rwxr-xr-xp/haskell-pcre-light/debian/rules92
-rw-r--r--p/haskell-pcre-light/debian/watch5
5 files changed, 43 insertions, 103 deletions
diff --git a/p/haskell-pcre-light/debian/changelog b/p/haskell-pcre-light/debian/changelog
index 2f73191e8..b38265b27 100644
--- a/p/haskell-pcre-light/debian/changelog
+++ b/p/haskell-pcre-light/debian/changelog
@@ -1,3 +1,9 @@
+haskell-pcre-light (0.3.1-6) UNRELEASED; urgency=low
+
+ * Adopt by Debian Haskell Group
+
+ -- Joachim Breitner <nomeata@debian.org> Thu, 11 Feb 2010 21:57:25 +0100
+
haskell-pcre-light (0.3.1-5) unstable; urgency=low
* Apply a workaround for the misformatted installed-pkg-config file which
diff --git a/p/haskell-pcre-light/debian/compat b/p/haskell-pcre-light/debian/compat
index 7ed6ff82d..7f8f011eb 100644
--- a/p/haskell-pcre-light/debian/compat
+++ b/p/haskell-pcre-light/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/p/haskell-pcre-light/debian/control b/p/haskell-pcre-light/debian/control
index fbf12eb06..ae175db66 100644
--- a/p/haskell-pcre-light/debian/control
+++ b/p/haskell-pcre-light/debian/control
@@ -1,17 +1,30 @@
Source: haskell-pcre-light
-Section: devel
-Priority: optional
-Maintainer: Recai Oktaş <roktas@debian.org>
-Build-Depends: debhelper (>= 4.0.0), haskell-devscripts (>=0.5.12), ghc6 (>= 6.8.2), ghc6-prof, libpcre3-dev
-Build-Depends-Indep: haddock
-Standards-Version: 3.8.0
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Joachim Breitner <nomeata@debian.org>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7)
+ , haskell-devscripts (>= 0.7)
+ , cdbs
+ , ghc6
+ , ghc6-prof
+ , ghc6-doc
+ , libpcre3-dev
Homepage: http://code.haskell.org/~dons/code/pcre-light
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-pcre-light/
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-pcre-light
Package: libghc6-pcre-light-dev
-Section: libdevel
Architecture: any
-Depends: ${haskell:Depends}, libpcre3-dev
-Suggests: haskell-pcre-light-doc (= ${source:Version})
+Depends: ${haskell:Depends}
+ , ${shlibs:Depends}
+ , ${misc:Depends}
+ , libx11-dev
+ , libxt-dev
+ , libxinerama-dev
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
Description: Haskell library for Perl 5-compatible regular expressions
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. The library
@@ -21,10 +34,10 @@ Description: Haskell library for Perl 5-compatible regular expressions
http://www.haskell.org/ for more information on Haskell.
Package: libghc6-pcre-light-prof
-Section: libdevel
Architecture: any
-Depends: ${haskell:Depends}, libghc6-pcre-light-dev (= ${binary:Version})
-Suggests: haskell-pcre-light-doc (= ${source:Version})
+Depends: ${haskell:Depends}
+ , ${misc:Depends}
+Provides: ${haskell:Provides}
Description: pcre-light library with profiling enabled
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. The library
@@ -36,6 +49,10 @@ Description: pcre-light library with profiling enabled
Package: haskell-pcre-light-doc
Section: doc
Architecture: all
+Depends: ${haskell:Depends}
+ , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
Description: library documentation for pcre-light
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl 5. The library
diff --git a/p/haskell-pcre-light/debian/rules b/p/haskell-pcre-light/debian/rules
index 652886c18..683e77bcf 100755
--- a/p/haskell-pcre-light/debian/rules
+++ b/p/haskell-pcre-light/debian/rules
@@ -1,92 +1,4 @@
#!/usr/bin/make -f
-#
-# This file is based on John Goerzen's Cabal Debian template.
-# See http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/
-#
-# This file is in the public domain.
-THIS := $(shell sed -ne 's/^Source: \(.*\)/\1/p' debian/control)
-PREFIX := /usr
-GHC := $(firstword $(shell bash -c "type -p ghc6 ghc"))
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- if [ -e Setup.lhs ]; then $(GHC) --make Setup.lhs -o setup; else $(GHC) --make Setup.hs -o setup; fi
- ./setup configure --ghc --prefix=$(PREFIX) $(CONFIGURE_OPTS)
-
- touch $@
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
-
- -./setup clean
- rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist html
- rm -f configure-stamp build-stamp build-indep-stamp
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs -a
- dh_haskell -a
-
-build-indep: build-indep-stamp
-build-indep-stamp:
- dh_testdir
-
-install-indep: build-indep
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs -i
- dh_haskell -i
-
-# Build architecture-independent files here.
-binary-indep: build-indep install-indep
- dh_testdir
- dh_testroot
- dh_installchangelogs -i
- dh_installdocs -i
- dh_installexamples -i
- dh_installman -i
- dh_link -i
- dh_strip -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -a
- dh_installdocs -a
- dh_installexamples -a
- dh_installman -a
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install build-indep install-indep
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff --git a/p/haskell-pcre-light/debian/watch b/p/haskell-pcre-light/debian/watch
new file mode 100644
index 000000000..783c2a6c4
--- /dev/null
+++ b/p/haskell-pcre-light/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|pcre-light-$1.tar.gz|" \
+ http://hackage.haskell.org/packages/archive/pcre-light \
+ ([\d\.]*\d)/