Date: Friday, February 3, 2006 @ 12:09:14
  Author: csaba
    Path: /cvsroot/carob/carob/debian

   Added: carob-dev.dirs (1.1) carob-dev.install (1.1) carob.dirs (1.1)
          carob.install (1.1) carob.links (1.1) carob.postinst (1.1)
          carob.postrm (1.1) changelog (1.1) compat (1.1) control (1.1)
          copyright (1.1) rules (1.1)

Debian package for Carob. Build the debian package with "debuild" from the 
carob source directory.


-------------------+
 carob-dev.dirs    |    2 
 carob-dev.install |    2 
 carob.dirs        |    1 
 carob.install     |    1 
 carob.links       |    1 
 carob.postinst    |   23 +++++++++++
 carob.postrm      |   20 +++++++++
 changelog         |    5 ++
 compat            |    1 
 control           |   27 +++++++++++++
 copyright         |   25 ++++++++++++
 rules             |  107 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 12 files changed, 215 insertions(+)


Index: carob/debian/carob-dev.dirs
diff -u /dev/null carob/debian/carob-dev.dirs:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob-dev.dirs Fri Feb  3 12:09:14 2006
@@ -0,0 +1,2 @@
+usr/lib
+usr/include/carob
Index: carob/debian/carob-dev.install
diff -u /dev/null carob/debian/carob-dev.install:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob-dev.install      Fri Feb  3 12:09:14 2006
@@ -0,0 +1,2 @@
+usr/include/carob/*
+usr/lib/lib*.a
Index: carob/debian/carob.dirs
diff -u /dev/null carob/debian/carob.dirs:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob.dirs     Fri Feb  3 12:09:14 2006
@@ -0,0 +1 @@
+usr/lib
Index: carob/debian/carob.install
diff -u /dev/null carob/debian/carob.install:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob.install  Fri Feb  3 12:09:14 2006
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
Index: carob/debian/carob.links
diff -u /dev/null carob/debian/carob.links:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob.links    Fri Feb  3 12:09:14 2006
@@ -0,0 +1 @@
+usr/lib/libcarob.so.1 usr/lib/libcarob.so
Index: carob/debian/carob.postinst
diff -u /dev/null carob/debian/carob.postinst:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob.postinst Fri Feb  3 12:09:14 2006
@@ -0,0 +1,23 @@
+#! /bin/sh
+# postinst script for carob
+#
+
+set -e
+
+case "$1" in
+    configure)
+       ldconfig
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
Index: carob/debian/carob.postrm
diff -u /dev/null carob/debian/carob.postrm:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/carob.postrm   Fri Feb  3 12:09:14 2006
@@ -0,0 +1,20 @@
+#! /bin/sh
+# postrm script for carob
+#
+
+set -e
+
+case "$1" in
+       
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+       ldconfig
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+exit 0
Index: carob/debian/changelog
diff -u /dev/null carob/debian/changelog:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/changelog      Fri Feb  3 12:09:14 2006
@@ -0,0 +1,5 @@
+carob (0.0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Csaba Simon <[EMAIL PROTECTED]>  Fri,  3 Feb 2006 11:22:22 +0200
Index: carob/debian/compat
diff -u /dev/null carob/debian/compat:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/compat Fri Feb  3 12:09:14 2006
@@ -0,0 +1 @@
+4
Index: carob/debian/control
diff -u /dev/null carob/debian/control:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/control        Fri Feb  3 12:09:14 2006
@@ -0,0 +1,27 @@
+Source: carob
+Priority: optional
+Maintainer: Csaba Simon <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+Section: libs
+
+Package: carob-dev
+Section: libdevel
+Architecture: any
+Depends: carob (= ${Source-Version})
+Description: Bringing Sequoia technology to the C/C++ world.
+ Carob's base is a C++ port of the JDBC driver code. It offers to
+ developpers the same access as in Java. Connections, Requests,
+ ResultSets and all necessary C++ classes can be used transparently
+ and directly in any C++ enabled application.
+ This package contains development files - library headers and static library.
+
+Package: carob
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Bringing Sequoia technology to the C/C++ world.
+ Carob's base is a C++ port of the JDBC driver code. It offers to
+ developpers the same access as in Java. Connections, Requests,
+ ResultSets and all necessary C++ classes can be used transparently
+ and directly in any C++ enabled application.
Index: carob/debian/copyright
diff -u /dev/null carob/debian/copyright:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/copyright      Fri Feb  3 12:09:14 2006
@@ -0,0 +1,25 @@
+This is carob, written and maintained by Csaba Simon <[EMAIL PROTECTED]>
+on Fri,  3 Feb 2006 11:22:22 +0200.
+
+The original source can always be found at:
+       http://carob.continuent.org
+
+Copyright (C) 2005-2006  Continuent, Inc
+
+License:
+
+  Sequoia: Database clustering technology.
+  Copyright (C) 2005-2006 Continuent, Inc.
+  Contact: [EMAIL PROTECTED]
+ 
+  Licensed under the Apache License, Version 2.0 (the "License")
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
Index: carob/debian/rules
diff -u /dev/null carob/debian/rules:1.1
--- /dev/null   Fri Feb  3 12:09:14 2006
+++ carob/debian/rules  Fri Feb  3 12:09:14 2006
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+
+       touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp 
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean
+       rm -rf debian/carob debian/carob-dev
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/carob and 
debian/carob-dev
+       install -m 0644 libcarob.so.1 
$(CURDIR)/debian/carob/usr/lib/libcarob.so.1
+       install -m 0644 libcarob.a $(CURDIR)/debian/carob-dev/usr/lib/libcarob.a
+       install -m 0644 include/*.hpp 
$(CURDIR)/debian/carob-dev/usr/include/carob
+
+# 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 
+       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
+       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 configure

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to