[Pkg-ocaml-maint-commits] r1145 - in packages/ocaml-sqlite: . trunk trunk/debian

Samuel Mimram smimram-guest@costa.debian.org
Wed, 30 Mar 2005 22:54:03 +0000


Author: smimram-guest
Date: 2005-03-30 22:54:02 +0000 (Wed, 30 Mar 2005)
New Revision: 1145

Added:
   packages/ocaml-sqlite/trunk/
   packages/ocaml-sqlite/trunk/debian/
   packages/ocaml-sqlite/trunk/debian/changelog
   packages/ocaml-sqlite/trunk/debian/compat
   packages/ocaml-sqlite/trunk/debian/control
   packages/ocaml-sqlite/trunk/debian/copyright
   packages/ocaml-sqlite/trunk/debian/dirs
   packages/ocaml-sqlite/trunk/debian/docs
   packages/ocaml-sqlite/trunk/debian/rules
   packages/ocaml-sqlite/trunk/ocaml-sqlite_0.3.5.arch.4.orig.tar.gz
Log:
Importing John Goerzen's original package.

Added: packages/ocaml-sqlite/trunk/debian/changelog
===================================================================
--- packages/ocaml-sqlite/trunk/debian/changelog	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/changelog	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1,21 @@
+ocaml-sqlite (0.3.5.arch.4-3) unstable; urgency=low
+
+  * Rebuilt for OCaml 3.08.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 27 Jul 2004 09:02:28 -0500
+
+ocaml-sqlite (0.3.5.arch.4-2) unstable; urgency=low
+
+  * Hack Makefile.in so that install doesn't try to install native
+    files on platforms w/o ocamlopt.  Closes: #247203.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon,  3 May 2004 15:35:49 -0500
+
+ocaml-sqlite (0.3.5.arch.4-1) unstable; urgency=low
+
+  * Initial Release.  Thank-you to Stefano Zacchiroli <zack@bononia.it>
+    for providing the initial template for this package.
+    Closes: #245319.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue,  6 Apr 2004 16:39:55 +0200
+

Added: packages/ocaml-sqlite/trunk/debian/compat
===================================================================
--- packages/ocaml-sqlite/trunk/debian/compat	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/compat	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1 @@
+4

Added: packages/ocaml-sqlite/trunk/debian/control
===================================================================
--- packages/ocaml-sqlite/trunk/debian/control	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/control	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1,31 @@
+Source: ocaml-sqlite
+Section: libdevel
+Priority: optional
+Maintainer: John Goerzen <jgoerzen@complete.org>
+Build-Depends: debhelper (>= 4.0.0), autoconf (>= 2.50), libsqlite0-dev (>= 2.8.1), ocaml (>= 3.08), ocaml-findlib (>= 1.0.4-1)
+Standards-Version: 3.6.0
+
+Package: libsqlite-ocaml-dev
+Architecture: any
+Depends: libsqlite-ocaml (= ${Source-Version})
+Description: Embeddable SQL Database for OCaml Programs
+ This package provides an interface for the SQLite embeddable SQL
+ database.  It allows your OCaml programs to use a SQL database without
+ depending on any external software; the resulting system can be
+ entirely self-contained.
+ .
+ This package provides the files necessary to develop new applications that
+ use SQLite for OCaml.
+
+Package: libsqlite-ocaml
+Section: libs
+Architecture: any
+Depends: ocaml (>= 3.08), ${shlibs:Depends}, ${misc:Depends}
+Description: Embeddable SQL Database for OCaml Programs
+ This package provides an interface for the SQLite embeddable SQL
+ database.  It allows your OCaml programs to use a SQL database without
+ depending on any external software; the resulting system can be
+ entirely self-contained.
+ .
+ This package provides the files necessary to run dynamically-linked
+ OCaml programs with SQLite.

Added: packages/ocaml-sqlite/trunk/debian/copyright
===================================================================
--- packages/ocaml-sqlite/trunk/debian/copyright	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/copyright	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1,31 @@
+It was downloaded from the Arch repository available from
+http://neugierig.org/software/ocaml/sqlite/.  There is also
+a SourceForge page for the project at
+http://sourceforge.net/projects/ocaml-sqlite/
+
+Upstream Authors / Copyright:
+ Copyright (c) 2003 Mikhail Fedotov <mikhail@kittown.com>
+ Currently maintained by Evan Martin <martine@danga.com>
+
+
+    Copyright (c) 2003 Mikhail Fedotov <mikhail@kittown.com>
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation files
+    (the "Software"), to deal in the Software without restriction,
+    including without limitation the rights to use, copy, modify, merge,
+    publish, distribute, sublicense, and/or sell copies of the Software,
+    and to permit persons to whom the Software is furnished to do so,
+    subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+    SOFTWARE.

Added: packages/ocaml-sqlite/trunk/debian/dirs
===================================================================
--- packages/ocaml-sqlite/trunk/debian/dirs	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/dirs	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1 @@
+usr/bin

Added: packages/ocaml-sqlite/trunk/debian/docs
===================================================================
--- packages/ocaml-sqlite/trunk/debian/docs	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/docs	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1,3 @@
+README
+TODO
+doc/*

Added: packages/ocaml-sqlite/trunk/debian/rules
===================================================================
--- packages/ocaml-sqlite/trunk/debian/rules	2005-03-30 22:45:50 UTC (rev 1144)
+++ packages/ocaml-sqlite/trunk/debian/rules	2005-03-30 22:54:02 UTC (rev 1145)
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# 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)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure.ac
+	dh_testdir
+	# Add here commands to configure the package.
+	autoconf
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	if [ -x /usr/bin/ocamlopt ]; then $(MAKE) allopt; else $(MAKE) all; fi
+	#usr/bin/docbook-to-man debian/ocaml-sqlite.sgml > ocaml-sqlite.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+	-rm -f config.log Makefile configure META
+	-rm -rf doc
+	-rm debian/libsqlite-ocaml.files
+
+	dh_clean 
+
+DESTDIR=$(CURDIR)/debian/libsqlite-ocaml-dev
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	echo `ocamlc -where` | sed -e 's.^/..' -e 's.$$./*.' > debian/libsqlite-ocaml.files
+
+	# Add here commands to install the package into debian/ocaml-sqlite.
+	mkdir -p debian/libsqlite-ocaml-dev/`ocamlc -where`/stublibs
+	mkdir -p debian/libsqlite-ocaml/`ocamlc -where`
+	 if [ -x /usr/bin/ocamlopt ]; then $(MAKE) installopt DESTDIR=$(DESTDIR); else $(MAKE) install DESTDIR=$(DESTDIR); fi
+	#cp dll*.so debian/libsqlite-ocaml-dev/`ocamlc -where`/stublibs/
+	mv $(DESTDIR)/`ocamlc -where`/stublibs debian/libsqlite-ocaml/`ocamlc -where`/
+	mv $(DESTDIR)/usr/bin/ debian/libsqlite-ocaml/usr
+
+
+# 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_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	# dh_strip is broken on this package!
+	#dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	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: packages/ocaml-sqlite/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/ocaml-sqlite/trunk/ocaml-sqlite_0.3.5.arch.4.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: packages/ocaml-sqlite/trunk/ocaml-sqlite_0.3.5.arch.4.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream