r10077: * multiple: Apply patch from Joerg Hoehle with multiple
[clsql.git] / clsql-postgresql.asd
index ae45873a09f4aaee494e13c523cb40d9c5d19787..84e3606e80776e85b202aaea567a2071289b1fd0 100644 (file)
@@ -1,31 +1,39 @@
-;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
-;;;; *************************************************************************\r
-;;;; FILE IDENTIFICATION\r
-;;;;\r
-;;;; Name:          clsql-postgresql.asd\r
-;;;; Purpose:       ASDF file for CLSQL PostgresSQL backend\r
-;;;; Programmer:    Kevin M. Rosenberg\r
-;;;; Date Started:  Aug 2002\r
-;;;;\r
-;;;; $Id: clsql-postgresql.asd,v 1.1 2002/08/18 02:57:50 kevin Exp $\r
-;;;;\r
-;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
-;;;;\r
-;;;; CLSQL users are granted the rights to distribute and use this software\r
-;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
-;;;; *************************************************************************\r
-\r
-(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
-(in-package :asdf)\r
-\r
-(defsystem clsql-postgresql\r
-    :default-component-class clsql-cl-source-file\r
-    :pathname "cl-library:clsql-postgresql;"\r
-    :components ((:file "postgresql-package")\r
-                (:file "postgresql-loader" :depends-on ("postgresql-package"))\r
-                (:file "postgresql-api" :depends-on ("postgresql-loader"))\r
-                (:file "postgresql-sql" :depends-on ("postgresql-api"))\r
-                (:file "postgresql-usql" :depends-on ("postgresql-sql")))\r
-    :depends-on (:uffi :clsql-base :clsql-uffi))\r
-\r
+;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          clsql-postgresql.asd
+;;;; Purpose:       ASDF file for CLSQL PostgresSQL backend
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Aug 2002
+;;;;
+;;;; $Id$
+;;;;
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; CLSQL users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(defpackage #:clsql-postgresql-system (:use #:asdf #:cl))
+(in-package #:clsql-postgresql-system)
+
+#+(and allegro macosx) (push "so" excl::*load-foreign-types*)
+
+(defsystem clsql-postgresql
+  :name "cl-sql-postgresql"
+  :author "Kevin M. Rosenberg <kmr@debian.org>"
+  :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
+  :licence "Lessor Lisp General Public License"
+  :description "Common Lisp PostgreSQL API Driver"
+  :long-description "cl-sql-postgresql package provides a the database driver for the PostgreSQL API."
+
+  :depends-on (uffi clsql clsql-uffi)
+  :components
+  ((:module :db-postgresql
+           :components
+           ((:file "postgresql-package")
+            (:file "postgresql-loader" :depends-on ("postgresql-package"))
+            (:file "postgresql-api" :depends-on ("postgresql-loader"))
+            (:file "postgresql-sql" :depends-on ("postgresql-api"))))))