# Programer: Kevin M. Rosenberg
# Date Started: Mar 2002
#
-# CVS Id: $Id: Makefile,v 1.15 2002/04/27 20:58:11 kevin Exp $
+# CVS Id: $Id: Makefile,v 1.16 2002/04/28 10:58:07 kevin Exp $
#
# This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
#
# as governed by the terms of the Lisp Lesser GNU Public License
# (http://opensource.franz.com/preamble.html), also known as the LLGPL.
-PKG=clsql
+PKG:=clsql
+DEBPKG=cl-sql
+SUBDIRS:=interfaces sql cmucl-compat
+DOCSUBDIRS:=doc
+
+include Makefile.common
.PHONY: all libs clean distclean doc tagcvs dist wwwdist
--- /dev/null
+all:
+
+
+.PHONY: clean
+clean:
+ @rm -rf .bin
+ @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl
+ @rm -f *~ *.bak *.orig *.err \#*\# .#*
+ @rm -f *.so *.a
+ @rm -rf debian/cl-sql
+ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
+ @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \
+ $(MAKE) -C $$i $@; done
+endif
+
+.SUFFIXES: # No default suffixes
--- /dev/null
+scp clsql-*.tar.gz clsql-*.zip ftp.med-info.com:/home/ftp/pub/clsql/.
+ssh ftp.med-info.com "(cd /opt/apache/htdocs/clsql.med-info.com; make)"
-Source: cl-uffi
+Source: cl-sql
Section: devel
Priority: optional
Maintainer: Kevin Rosenberg <kevin@rosenberg.net>
Build-Depends-Indep: debhelper (>> 3.0.0)
Standards-Version: 3.5.2
-Package: cl-uffi
+Package: cl-sql
Architecture: all
-Depends: common-lisp-controller, cmucl | lisp-compiler
-Description: Universal Foreign Function Library for Common Lisp
- UFFI provides a universal foreign function interface (FFI) for Common Lisp.
- UFFI supports CMUCL, Lispworks, and AllegroCL.
+Depends: common-lisp-controller, cl-uffi, cmucl | lisp-compiler
+Description: SQL Interface for Common Lisp
+ CLSQL uses the UFFI library to provide SQL to multiple SQL databases
+ on multiple Common Lisp implementations.
+
-The home site for UFFI is http://uffi.med-info.com. The package
+The home site for CLSQL is http://clsql.med-info.com. The package
may be downloaded from that site.
-UFFI has been packaged by Kevin M. Rosenberg who is also the
+CLSQL has been packaged by Kevin M. Rosenberg who is also the
upstream author.
Copyright:
-UFFI is written and Copyright (c) 2002 by Kevin M. Rosenberg.
+CLSQL is written and Copyright (c) 2002 by Kevin M. Rosenberg.
-UFFI is licensed under the terms of the Lisp Lesser GNU
+CLSQL is licensed under the terms of the Lisp Lesser GNU
Public License (http://opensource.franz.com/preamble.html), known as
the LLGPL. The LLGPL consists of a preamble (see above URL) and the
LGPL. Where these conflict, the preamble takes precedence.
-UFFI is referenced in the preamble as the "LIBRARY."
+CLSQL is referenced in the preamble as the "LIBRARY."
-UFFI is distributed in the hope that it will be useful,
+CLSQL 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.
#! /bin/sh
-# postinst script for uffi
+# postinst script for clsql
#
# see: dh_installdeb(1)
set -e
# package name according to lisp
-LISP_PKG=uffi
+LISP_PKG=clsql
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
case "$1" in
configure)
- ln -sf ../repositories/uffi /usr/share/common-lisp/source/uffi
+ ln -sf ../repositories/clsql /usr/share/common-lisp/source/clsql
/usr/sbin/register-common-lisp-source ${LISP_PKG}
;;
#! /bin/sh
-# prerm script for uffi
+# prerm script for clsql
#
# see: dh_installdeb(1)
set -e
# package name according to lisp
-LISP_PKG=uffi
+LISP_PKG=clsql
# summary of how this script can be called:
# * <prerm> `remove'
case "$1" in
remove|upgrade|deconfigure)
/usr/sbin/unregister-common-lisp-source ${LISP_PKG}
- rm -rf /usr/share/common-lisp/source/uffi /usr/share/common-lisp/repositories/uffi
+ rm -rf /usr/share/common-lisp/source/clsql /usr/share/common-lisp/repositories/clsql
;;
failed-upgrade)
;;
# 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
-ftp.med-info.com /pub/uffi uffi-(.*)\.tar\.gz debian uupdate
+ftp.med-info.com /pub/clsql clsql-(.*)\.tar\.gz debian uupdate