[SCM] templates for different package types branch, master, updated. 8768c5fc1b7349fdc1921738be75b920ecab4d5e

Miriam Ruiz miriam at debian.org
Sun Apr 24 22:43:13 UTC 2011


The following commit has been merged in the master branch:
commit 8768c5fc1b7349fdc1921738be75b920ecab4d5e
Author: Miriam Ruiz <miriam at debian.org>
Date:   Mon Apr 25 00:42:46 2011 +0200

    Added two new models

diff --git a/model/haskell-cabal/control b/model/haskell-cabal/control
new file mode 100644
index 0000000..c223b59
--- /dev/null
+++ b/model/haskell-cabal/control
@@ -0,0 +1,68 @@
+Source: %PACKAGE%
+Section: unknown
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: %DEBNAME% <%DEBEMAIL%>
+Build-Depends: debhelper (>= 7)
+  , cdbs
+  , haskell-devscripts (>= 0.8)
+  , ghc
+  , ghc-prof
+  , libghc-bar-dev
+  , libghc-bar-prof
+  , lib%PACKAGE%-dev
+Build-Depends-Indep: ghc-doc
+  , libghc-bar-doc
+Standards-Version: 3.9.2
+Homepage: http://hackage.haskell.org/package/%PACKAGE%
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-%PACKAGE%
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-%PACKAGE%
+
+Package: libghc-%PACKAGE%-dev
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+  , lib%PACKAGE%-dev
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: %SHORT% - 
+ %LONG%
+ .
+ This package contains Haskell bindings for the functions and data structures
+ defined in the %PACKAGE% C library.
+ .
+ See http://www.haskell.org/ for more information on Haskell.
+
+Package: libghc-%PACKAGE%-prof
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: %SHORT% -  profiling libraries
+ %LONG%
+ .
+ This package contains Haskell bindings for the functions and data structures
+ defined in the %PACKAGE% C library, compiled for profiling.
+ .
+ See http://www.haskell.org/ for more information on Haskell.
+
+Package: libghc-%PACKAGE%-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${haskell:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: %SHORT% - documentation
+ %LONG%
+ .
+ This package provides the documentation for a library for the Haskell
+ programming language.
+ .
+ This package provides the documentation for the Haskell bindings for the
+ functions and data structures defined in the %PACKAGE% C library.
+ .
+ See http://www.haskell.org/ for more information on Haskell.
diff --git a/model/haskell-cabal/rules b/model/haskell-cabal/rules
new file mode 100644
index 0000000..683e77b
--- /dev/null
+++ b/model/haskell-cabal/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff --git a/model/haskell-cabal/watch b/model/haskell-cabal/watch
new file mode 100644
index 0000000..b71b2a5
--- /dev/null
+++ b/model/haskell-cabal/watch
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|%PACKAGE%-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/%PACKAGE% \
+    ([\d\.]*\d)/
diff --git a/model/cmake/control b/model/qmake-qt4/control
similarity index 85%
copy from model/cmake/control
copy to model/qmake-qt4/control
index 0a38429..6859f10 100644
--- a/model/cmake/control
+++ b/model/qmake-qt4/control
@@ -2,7 +2,8 @@ Source: %PACKAGE%
 Section: unknown
 Priority: extra
 Maintainer: %DEBNAME% <%DEBEMAIL%>
-Build-Depends: debhelper (>= 7), cmake, dh-buildinfo, quilt
+Build-Depends: debhelper (>= 7), dh-buildinfo, quilt,
+ qt4-qmake, qt4-dev-tools, libqt4-dev
 Standards-Version: 3.9.1
 Homepage: URL://HOMEPAGE
 
diff --git a/model/makefile/rules b/model/qmake-qt4/rules
similarity index 99%
copy from model/makefile/rules
copy to model/qmake-qt4/rules
index 86996c7..8ddc18a 100644
--- a/model/makefile/rules
+++ b/model/qmake-qt4/rules
@@ -7,6 +7,7 @@ config: config-stamp
 config-stamp: 
 	dh_testdir
 	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
+	qmake-qt4
 	touch $@
 
 build: build-stamp

-- 
templates for different package types



More information about the Pkg-games-commits mailing list