r2294: Autocommit for make-debian
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 18 Aug 2002 00:51:54 +0000 (00:51 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 18 Aug 2002 00:51:54 +0000 (00:51 +0000)
debian/changelog
debian/rules
uffi.asd [new file with mode: 0644]

index 7e45116f2009252d270d82f9ca9996f6d29ff59e..fd53b570f14729c7f3842b4677f458ca221b76e7 100644 (file)
@@ -1,3 +1,9 @@
+cl-uffi (0.6.0-3) unstable; urgency=low
+
+  * Add uffi.asd file for ASDF users.
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 17 Aug 2002 18:50:12 -0600
+
 cl-uffi (0.6.0-2) unstable; urgency=low
 
   * Update e-mail address
index df1aad3d5f8b7a56a49cec89773f2d699b01a97a..c391c65da02c4226169ce083f487918312d79bf7 100755 (executable)
@@ -49,7 +49,7 @@ install: build
        dh_installdirs -p $(debpkg) $(doc-dir) $(clc-uffi)/mcl 
 
        # Add here commands to install the package into debian/uffi.
-       dh_install "uffi.system" $(clc-systems)
+       dh_install uffi.system uffi.asd $(clc-systems)
        dh_install "uffi/*.cl" $(clc-uffi)
        dh_install "uffi/mcl/*.cl" $(clc-uffi)/mcl
 
diff --git a/uffi.asd b/uffi.asd
new file mode 100644 (file)
index 0000000..71d1c68
--- /dev/null
+++ b/uffi.asd
@@ -0,0 +1,49 @@
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name:          uffi.asd
+;;;; Purpose:       ASDF system definition file for UFFI package
+;;;; Programmer:    Kevin M. Rosenberg
+;;;; Date Started:  Aug 2002
+;;;;
+;;;; $Id: uffi.asd,v 1.1 2002/08/18 00:51:54 kevin Exp $
+;;;;
+;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; UFFI 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.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(in-package :cl-user)
+
+;; For use with non-Debian installations
+(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
+                                     :defaults *load-truename*)))
+  (when (probe-file helper-pathname)
+      (load helper-pathname)))
+
+(in-package :asdf)
+
+(defclass uffi-cl-source-file (cl-source-file) ())
+(defmethod source-file-type ((c uffi-cl-source-file) (s module)) 
+  "cl")
+
+(defsystem uffi
+    :default-component-class uffi-cl-source-file
+    :pathname #-mcl "cl-library:uffi;"
+             #+mcl "cl-library:uffi;mcl;"
+    :perform (load-op :after (op uffi)
+                     (pushnew :uffi cl:*features*))
+    :components 
+    ((:file "package")
+     (:file "primitives" :depends-on ("package"))
+     (:file "strings" :depends-on ("primitives"))
+     (:file "objects" :depends-on ("primitives"))
+     (:file "aggregates" :depends-on ("primitives"))
+     (:file "functions" :depends-on ("primitives"))
+     (:file "libraries" :depends-on ("package")))
+)
+