The following commit has been merged in the master branch:
commit 18d7f86320f1228788f9a33b997a2fd93bc1f6e4
Author: Romain Beauxis <to...@rastageeks.org>
Date:   Mon Mar 30 17:04:14 2009 +0200

    Added initial debian packaging..

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e82d784
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-speex (0.1.0-1) unstable; urgency=low
+
+  * Initial upload to unstable (Closes: #515810)
+
+ -- Romain Beauxis <to...@rastageeks.org>  Mon, 30 Mar 2009 17:01:09 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c8e0368
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: ocaml-speex
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
+Uploaders: Samuel Mimram <smim...@debian.org>, Romain Beauxis 
<to...@rastageeks.org>
+Build-Depends: cdbs (>= 0.4.23), debhelper (>= 7.0.1), ocaml-nox, 
+               libspeex-dev, libogg-ocaml-dev (>= 0.3.0),
+               ocaml-findlib (>= 1.2.4), pkg-config, dh-ocaml
+Standards-Version: 3.8.1
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-speex.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-speex.git
+
+Package: libspeex-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml interface to the speex library
+ This package provides an interface to the speex library for 
+ OCaml programmers.
+ .
+ Speex is an audio codec especially designed for compressing voice at low
+ bit-rates for applications such as voice over IP (VoIP).
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libspeex-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libspeex-dev, libogg-ocaml-dev (>= 0.3.0-1),
+         libspeex-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Description: OCaml interface to the speex library
+ This package provides an interface to the speex library for
+ OCaml programmers.
+ .
+ Speex is an audio codec especially designed for compressing voice at low
+ bit-rates for applications such as voice over IP (VoIP).
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ocaml-speex.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..83b8b45
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,40 @@
+Source: ocaml-speex
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
+Uploaders: Samuel Mimram <smim...@debian.org>, Romain Beauxis 
<to...@rastageeks.org>
+Build-Depends: @cdbs@, 
+               libspeex-dev, libogg-ocaml-dev (>= 0.3.0),
+               ocaml-findlib (>= 1.2.4), pkg-config, dh-ocaml
+Standards-Version: 3.8.1
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-speex.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-speex.git
+
+Package: libspeex-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml interface to the speex library
+ This package provides an interface to the speex library for 
+ OCaml programmers.
+ .
+ Speex is an audio codec especially designed for compressing voice at low
+ bit-rates for applications such as voice over IP (VoIP).
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libspeex-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libspeex-dev, libogg-ocaml-dev (>= 0.3.0-1),
+         libspeex-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Description: OCaml interface to the speex library
+ This package provides an interface to the speex library for
+ OCaml programmers.
+ .
+ Speex is an audio codec especially designed for compressing voice at low
+ bit-rates for applications such as voice over IP (VoIP).
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ocaml-speex.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dd68762
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Romain Beauxis <to...@rastageeks.org> on
+Mon, 30 Mar 2009 16:16:32 +0200.
+
+It was downloaded from <http://savonet.sourceforge.net/>
+
+Upstream Author: The Savonet Team <savonet-us...@lists.sourceforge.net>
+
+Copyright © 2003-2009 The Savonet Team. 
+
+License:
+
+  Ocaml-speex is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  Ocaml-speex is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is © 2009, Romain Beauxis <to...@rastageeks.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/libspeex-ocaml-dev.docs b/debian/libspeex-ocaml-dev.docs
new file mode 100644
index 0000000..cecaa8e
--- /dev/null
+++ b/debian/libspeex-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+doc/html
diff --git a/debian/libspeex-ocaml-dev.install.in 
b/debian/libspeex-ocaml-dev.install.in
new file mode 100644
index 0000000..e2d401d
--- /dev/null
+++ b/debian/libspeex-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+...@ocamlstdlibdir@/speex/META
+...@ocamlstdlibdir@/speex/*.cm*
+...@ocamlstdlibdir@/speex/*.ml*
+OPT: @OCamlStdlibDir@/speex/*.a
diff --git a/debian/libspeex-ocaml.install.in b/debian/libspeex-ocaml.install.in
new file mode 100644
index 0000000..6381354
--- /dev/null
+++ b/debian/libspeex-ocaml.install.in
@@ -0,0 +1 @@
+...@ocamlstdlibdir@/speex/dllspeex_stubs.so @OCamlDllDir@
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2a30ab0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+
+# In order to regenerate 'debian/control' :
+#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+# Then check manually if everything's ok
+
+DESTDIR = $(CURDIR)/debian/tmp$(shell ocamlc -where)
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) 
OCAMLFIND_LDCONF=ignore
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_INSTALL_ARGS :=  --list-missing
+
+build/libspeex-ocaml-dev::
+       mkdir -p $(DESTDIR)
+       make doc
+
+clean::
+       rm -rf Makefile src/Makefile src/META doc config.log config.status \
+         examples/Makefile.speex2wav examples/Makefile.wav2speex
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d786bc9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/savonet/ocaml-speex-(.+)\.tar\.gz

-- 
ocaml-speex packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to