-(asdf:defsystem #:clsql-usql
- :name "CLSQL-USQL"
- :author ""
- :maintainer ""
- :version ""
- :licence ""
- :description "A high level Common Lisp interface to SQL RDBMS."
- :long-description "A high level Common Lisp interface to SQL RDBMS
-based on the Xanalys CommonSQL interface for Lispworks. It depends on
-the low-level database interfaces provided by CLSQL and includes both
-a functional and an object oriented interface."
- :depends-on (clsql-base)
+(in-package #:cl-user)
+(defpackage #:clsql-system (:use #:asdf #:cl))
+(in-package #:clsql-system)
+
+#+clisp
+(progn
+ (asdf:operate 'asdf:load-op 'cffi)
+ (asdf:operate 'asdf:load-op 'cffi-uffi-compat)
+ (asdf:defsystem uffi :depends-on (cffi-uffi-compat)))
+
+;; need to load uffi for below perform :after method
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (unless (find-package 'uffi)
+ (asdf:operate 'asdf:load-op 'cffi-uffi-compat)))
+
+(defsystem clsql
+ :name "CLSQL"
+ :author "Kevin Rosenberg <kevin@rosenberg.net>"
+ :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
+ :licence "Lessor Lisp General Public License"
+ :description "Common Lisp SQL Interface library"
+ :long-description "A Common Lisp interface to SQL RDBMS based on
+the Xanalys CommonSQL interface for Lispworks. It depends on the
+low-level database interfaces as well as a functional and an object
+oriented interface."