[Pkg-ocaml-maint-commits] r2097 - in trunk/packages/ocamlsdl: . trunk trunk/debian trunk/debian/patches

Samuel Mimram smimram-guest at costa.debian.org
Tue Nov 22 20:38:30 UTC 2005


Author: smimram-guest
Date: 2005-11-22 20:38:29 +0000 (Tue, 22 Nov 2005)
New Revision: 2097

Added:
   trunk/packages/ocamlsdl/trunk/
   trunk/packages/ocamlsdl/trunk/debian/
   trunk/packages/ocamlsdl/trunk/debian/changelog
   trunk/packages/ocamlsdl/trunk/debian/control
   trunk/packages/ocamlsdl/trunk/debian/copyright
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.dirs
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.doc-base
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.docs
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.overrides
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.dirs
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.docs
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.files
   trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.overrides
   trunk/packages/ocamlsdl/trunk/debian/patches/
   trunk/packages/ocamlsdl/trunk/debian/patches/00list
   trunk/packages/ocamlsdl/trunk/debian/patches/sdltimer-delay-fix.dpatch
   trunk/packages/ocamlsdl/trunk/debian/rules
   trunk/packages/ocamlsdl/trunk/debian/watch
Log:
Importing Jerome Marant's package.

Added: trunk/packages/ocamlsdl/trunk/debian/changelog
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/changelog	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/changelog	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,183 @@
+ocamlsdl (0.7.2-2) unstable; urgency=low
+
+  * debian/libsdl-ocaml-dev.doc-base: move documentation from `Devel'
+    to `Apps/Programming' section. Closes: Bug#311121.
+
+ -- Jerome Marant <jerome at debian.org>  Sat,  4 Jun 2005 12:15:52 +0200
+
+ocamlsdl (0.7.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Built against ocaml 3.08.3. Closes: Bug#304166.
+  * debian/control:
+    - Changed ocaml build-dependency to ocaml-3.08.3.
+    - [libsdl-ocaml-dev]: changed ocaml dependency to ocaml-nox-3.08.3.
+    - [libsdl-ocaml]: changed ocaml dependency to ocaml-base-nox-3.08.3.
+  * debian/libsdl-ocaml{,-dev}.overrides: updated with respect to ocaml 3.08.3.
+  * debian/patches/sdltimer-delay-fix.dpatch: new patch from upstream
+    fixing a crash in Sdltimer.delay.
+
+ -- Jerome Marant <jerome at debian.org>  Tue, 12 Apr 2005 21:51:25 +0200
+
+ocamlsdl (0.7.1-2) unstable; urgency=medium
+
+  * debian/samples: removed examples since they are no longer provided
+    upstream and of a too low quality.
+  * debian/rules:
+    - Removed installation of examples.
+    - Install META file from the upstream tarball rather than the
+      one we have provided so far.
+  * debian/control: got rid of sharutils build-dependency.
+
+ -- Jerome Marant <jerome at debian.org>  Tue,  3 Aug 2004 22:53:02 +0200
+
+ocamlsdl (0.7.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Built against ocaml 3.08.0.
+  * debian/control:
+    - Bumped Standards-Version to 3.6.1.1.
+    - Changed liblablgl build-dependency version to >= 1.01-1.
+    - Changed ocaml build-dependency to ocaml-3.08.
+    - Build conflict on ocaml-findlib: findlib really makes a hard time
+      to install libraries, better use the traditional way.
+    - Added build-dependency on dpatch.
+    - [libsdl-ocaml-dev]: changed ocaml dependency to ocaml-nox-3.08.
+    - [libsdl-ocaml]: changed ocaml dependency to ocaml-base-nox-3.08.
+    - Added build-dependency on sharutils since we need uudecode for images
+      and fonts from imported samples.
+  * debian/libsdl-ocaml{,-dev}.overrides: updated with respect to ocaml 3.08.0.
+  * debian/libsdl-ocaml.files: likewise.
+  * debian/META: likewise.
+  * debian/rules.patch: removed since we use dpatch now.
+  * debian/samples: imported samples from the previous upstream
+    release since they are no longer distributed in upstream tarballs.
+
+ -- Jerome Marant <jerome at debian.org>  Wed, 28 Jul 2004 22:47:39 +0200
+
+ocamlsdl (0.6.3-2) unstable; urgency=low
+
+  * Rebuilt against ocaml 3.07.
+  * debian/control:
+    - Bumped Standards-Version to 3.6.1.
+    - Changed binary dependencies and build dependencies with
+      respect to ocaml 3.07.
+  * debian/*.overrides: updated with respect to ocaml 3.07.
+  * debian/libsdl-ocaml.files: likewise.
+  
+ -- Jerome Marant <jerome at debian.org>  Sat,  4 Oct 2003 14:56:56 +0200
+
+ocamlsdl (0.6.3-1) unstable; urgency=low
+
+  * New upstream version.
+  * support/config.{guess,sub}: updated from latest autotools-dev.
+  * debian/control:
+    - Bumped Standards-Version to 3.5.9.
+    - Changed libsdl-ocaml-dev section from devel to libdevel.
+    - Changed libpng3-dev build dependency to libpng12-dev.
+  
+ -- Jerome Marant <jerome at debian.org>  Fri, 25 Apr 2003 20:22:14 +0200
+
+ocamlsdl (0.6.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * support/config.{guess,sub}: updated from latest autotools-dev.
+  
+ -- Jerome Marant <jerome at debian.org>  Wed, 12 Mar 2003 22:03:36 +0100
+
+ocamlsdl (0.6.1-4) unstable; urgency=low
+
+  * debian/control: replaced libsdl-ttf1.2-dev with libsdl-ttf2.0-dev.
+
+ -- Jerome Marant <jerome at debian.org>  Thu,  6 Mar 2003 21:48:18 +0100
+
+ocamlsdl (0.6.1-3) unstable; urgency=low
+
+  * support/config.{guess,sub}: updated from latest autotools-dev.
+    Closes: Bug#176394.
+  * Reran aclocal -I support; autoconf.
+
+ -- Jerome Marant <jerome at debian.org>  Sat, 18 Jan 2003 13:44:32 +0100
+
+ocamlsdl (0.6.1-2) unstable; urgency=low
+
+  * support/config.{guess,sub}: updated with files from autotools-dev
+    in order to add support for s390. Closes: Bug#176394.
+  * Reran aclocal -I support; autoconf.
+
+ -- Jerome Marant <jerome at debian.org>  Sat, 11 Jan 2003 15:39:39 +0100
+
+ocamlsdl (0.6.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: added liblablgl-ocaml-dev to build dependencies.
+  * debian/extra/Makefile.samples: updated with respect to new samples.
+  
+ -- Jerome Marant <jerome at debian.org>  Thu,  9 Jan 2003 23:28:11 +0100
+
+ocamlsdl (0.6-3) unstable; urgency=low
+
+  * debian/control:
+    - Bumped Standards-Version to 3.5.8.
+    - Bumped ocaml build dependency to ocaml-3.06-1 and standard
+      dependencies to ocaml{, base}-3.06-1.
+  * debian/rules: use `ocaml -where' to determine the library
+    directory. Libraires are now installed in /usr/lib/ocaml/3.06 with
+    respect to changes in the OCaml policy.
+  * debian/libsdl-ocaml{, -dev}.overrides: updated with respect to new
+    library directory.
+  * debian/libsdl-ocaml{, -dev}.dirs: removed entries for library
+    directories since those entries are provided by upstream makefiles.
+  * libsdl-ocaml.files: updated with respect to libdir transition.
+  
+ -- Jerome Marant <jerome at debian.org>  Mon, 16 Dec 2002 21:04:00 +0100
+
+ocamlsdl (0.6-2) unstable; urgency=low
+
+  * Applied upstream patch from Olivier Andrieu fixing a bug
+    which prevents ocamlsdl to be built on architectures with
+    no ocamlopt available. Closes: Bug#167981.
+  * Reran aclocal -I support; autoconf.
+
+ -- Jerome Marant <jerome at debian.org>  Thu,  7 Nov 2002 22:56:38 +0100
+
+ocamlsdl (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: bumped Standards-Version to 3.5.7.
+  * debian/extra/META: updated to latest release.
+
+ -- Jerome Marant <jerome at debian.org>  Tue, 05 Nov 2002 22:33:03 +0100
+
+ocamlsdl (0.5.0+cvs.20020724-2) unstable; urgency=low
+
+  * Recompiled against ocaml 3.06. Closes: Bug#155474, Bug#157275.
+  * debian/control:
+    - Bumped Standards-Version to 3.5.6.1.
+    - Updated dependencies and build-dependencies with respect to new
+      OCaml policy.
+    - Changed Debhelper build-dependency to greater that 4.0.0.
+  * debian/rules:
+    - Made use of Debhelper 4.
+    - Removed call to dh_ocamlld which is no longer necessary.
+  
+ -- Jerome Marant <jerome at debian.org>  Sat, 24 Aug 2002 14:54:08 +0200
+
+ocamlsdl (0.5.0+cvs.20020724-1) unstable; urgency=low
+
+  * New upstream CVS snapshot.
+  * Upstream fix: do not build the native version of the library
+    on architectures for which ocamlopt is not available.
+    Closes: Bug#150924.
+  * debian/control: added build-dependency on libpng3-dev.
+  * Rebuilt against libpng3 because libsdl-image1.2 is now built
+    against that version of libpng.
+
+ -- Jerome Marant <jerome at debian.org>  Wed, 24 Jul 2002 21:00:14 +0200
+
+ocamlsdl (0.5.0+cvs.20020616-1) unstable; urgency=low
+
+  * Initial Release. Closes: Bug#144707.
+
+ -- Jerome Marant <jerome at debian.org>  Sun, 16 Jun 2002 12:28:19 +0200
+

Added: trunk/packages/ocamlsdl/trunk/debian/control
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/control	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/control	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,39 @@
+Source: ocamlsdl
+Section: devel
+Priority: optional
+Maintainer: Jerome Marant <jerome at debian.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-3.08.3, libpng12-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-ttf2.0-dev, liblablgl-ocaml-dev (>= 1.01-1), dpatch (>= 1.23)
+Build-Conflicts: ocaml-findlib
+Standards-Version: 3.6.1.1
+
+Package: libsdl-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ocaml-nox-3.08.3, libsdl-ocaml (= ${Source-Version})
+Description: OCaml bindings for SDL - development files
+ SDL (Simple DirectMedia Layer) is a generic API that provides low
+ level access to audio, keyboard, mouse, and display framebuffer
+ across multiple platforms. 
+ OCamlSDL is an OCaml interface to SDL that might be used to write
+ multimedia applications in Objective Caml.
+ .
+ This package contains development files for OCamlSDL application
+ writers.
+ .
+ http://ocamlsdl.sourceforge.net
+
+Package: libsdl-ocaml
+Section: libs
+Architecture: any
+Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}
+Description: OCaml bindings for SDL - runtime files
+ SDL (Simple DirectMedia Layer) is a generic API that provides low
+ level access to audio, keyboard, mouse, and display framebuffer
+ across multiple platforms. 
+ OCamlSDL is an OCaml interface to the SDL and might be used to write
+ multimedia applications in Objective Caml.
+ .
+ This package contains runtime libraries needed for running dynamic
+ bytecode executables.
+ .
+ http://ocamlsdl.sourceforge.net

Added: trunk/packages/ocamlsdl/trunk/debian/copyright
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/copyright	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/copyright	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,16 @@
+This package was debianized by Jérôme Marant <jerome at debian.org> on
+Sat, 20 Apr 2002 22:42:47 +0200.
+
+It was downloaded from http://prdownloads.sourceforge.net/ocamlsdl
+
+Upstream Authors: Frederic Brunel <brunel at mail.dotcom.fr>
+                  Luc Mazardo <luc at mazardo.com>
+                  Sami Makëlä <sajuma at utu.fi>
+                  Olivier Andrieu <oliv__a at users.sourceforge.net>
+
+Copyright:
+
+OCamlSDL is distributed under the terms of the LGPL (Lesser GNU Public License).
+
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in /usr/share/common-licenses/LGPL.

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.dirs
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.dirs	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.dirs	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,2 @@
+usr/share/doc/libsdl-ocaml-dev/html
+usr/share/lintian/overrides

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.doc-base
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.doc-base	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.doc-base	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,10 @@
+Document: libsdl-ocaml-dev
+Title: OCamlSDL Reference Manual
+Author: Olivier Andrieu, Frederic Brunel, Luc Mazardo, Sami Mäkelä
+Abstract: Documentation for the SDL OCaml bindings.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libsdl-ocaml-dev/html/index.html
+Files: /usr/share/doc/libsdl-ocaml-dev/html/*.html
+  

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.docs
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.docs	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.docs	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+README

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.overrides
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.overrides	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml-dev.overrides	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+libsdl-ocaml-dev: binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/sdl/toplevel /usr/lib

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.dirs
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.dirs	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.dirs	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+usr/share/lintian/overrides

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.docs
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.docs	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.docs	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+README

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.files
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.files	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.files	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08.3/stublibs

Added: trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.overrides
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.overrides	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/libsdl-ocaml.overrides	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,5 @@
+libsdl-ocaml: binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/stublibs/dllsdlstub.so /usr/lib
+libsdl-ocaml: binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/stublibs/dllsdlloaderstub.so /usr/lib
+libsdl-ocaml: binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/stublibs/dllsdlmixerstub.so /usr/lib
+libsdl-ocaml: binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/stublibs/dllsdlttfstub.so /usr/lib
+

Added: trunk/packages/ocamlsdl/trunk/debian/patches/00list
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/patches/00list	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/patches/00list	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1 @@
+sdltimer-delay-fix

Added: trunk/packages/ocamlsdl/trunk/debian/patches/sdltimer-delay-fix.dpatch
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/patches/sdltimer-delay-fix.dpatch	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/patches/sdltimer-delay-fix.dpatch	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+## sdltimer-delay-fix.dpatch by Jerome Marant <jerome at debian.org>
+##
+## DP: 
+## DP: 
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+diff -u -r1.4 sdltimer.ml
+--- ocamlsdl.orig/src/sdltimer.ml	21 Aug 2002 18:40:20 -0000
++++ ocamlsdl/src/sdltimer.ml	9 Apr 2005 11:59:03 -0000
+@@ -21,6 +21,6 @@
+ 
+ (* Native C external functions *)
+ 
+-external delay : int -> unit = "sdltimer_delay" "noalloc"
++external delay : int -> unit = "sdltimer_delay"
+ 
+ external get_ticks : unit -> int = "sdltimer_get_ticks" "noalloc"
+diff -u -r1.4 sdltimer.mli
+--- ocamlsdl.orig/src/sdltimer.mli.orig	5 Nov 2002 14:59:02 -0000
++++ ocamlsdl/src/sdltimer.mli	9 Apr 2005 11:59:03 -0000
+@@ -22,7 +22,7 @@
+ (** Time-related functions *)
+ 
+ (** Wait a specified number of milliseconds before returning *)
+-external delay : int -> unit = "sdltimer_delay" "noalloc"
++external delay : int -> unit = "sdltimer_delay"
+ 
+ (** Get the number of milliseconds since the SDL library initialization. *)
+ external get_ticks : unit -> int = "sdltimer_get_ticks" "noalloc"

Added: trunk/packages/ocamlsdl/trunk/debian/rules
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/rules	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/rules	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,105 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+include /usr/share/dpatch/dpatch.make
+
+SHELL=/bin/bash
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+OCAMLSDL=$(CURDIR)/debian/libsdl-ocaml
+OCAMLSDLDEV=$(OCAMLSDL)-dev
+
+OCAMLLIBDIR=$(shell ocamlc -where)
+
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	rm -f config.{log,status}
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	DESTDIR=$(OCAMLSDLDEV) $(MAKE) install
+
+	# Install documentation
+	install -m 0644 doc/html/*.html $(OCAMLSDLDEV)/usr/share/doc/libsdl-ocaml-dev/html
+
+	# Install additional files
+	install -m 0644 META $(OCAMLSDLDEV)$(OCAMLLIBDIR)/sdl
+
+	# Install lintian overrides
+	install -m 0644 debian/libsdl-ocaml-dev.overrides\
+		$(OCAMLSDLDEV)/usr/share/lintian/overrides/libsdl-ocaml-dev
+	install -m 0644 debian/libsdl-ocaml.overrides\
+		$(OCAMLSDL)/usr/share/lintian/overrides/libsdl-ocaml
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_movefiles -plibsdl-ocaml --sourcedir=debian/libsdl-ocaml-dev
+	rm -rf $(OCAMLSDLDEV)$(OCAMLLIBDIR)/stublibs
+
+	dh_installdocs
+#	dh_installinfo doc/ocamlsdl.info
+	dh_installexamples
+#	dh_installman
+	dh_installchangelogs NEWS
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: trunk/packages/ocamlsdl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/ocamlsdl/trunk/debian/watch
===================================================================
--- trunk/packages/ocamlsdl/trunk/debian/watch	2005-11-22 20:36:12 UTC (rev 2096)
+++ trunk/packages/ocamlsdl/trunk/debian/watch	2005-11-22 20:38:29 UTC (rev 2097)
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+prdownloads.sourceforge.net	/ocamlsdl	OCamlSDL-(.*)-src\.tar\.gz	debian	uupdate




More information about the Pkg-ocaml-maint-commits mailing list