source: trunk/abcl/contrib/quicklisp/quicklisp-abcl.asd @ 14261

Last change on this file since 14261 was 14261, checked in by Mark Evenson, 8 years ago

abcl-contrib> QUICKLISP-ABCL now installs Quicklisp from the REPL.

Use via

(dolist (system (:abcl-contrib :quicklisp-abcl)) (require system))

File size: 1.3 KB
Line 
1;;;; -*- Mode: LISP -*-
2(require :asdf)
3(require :abcl-contrib)
4(require :abcl-asdf)
5(in-package :asdf)
6;; Quicklisp defines:
7;;(defvar *setup-url* "http://beta.quicklisp.org/quickstart/setup.lisp")
8(defsystem :quicklisp-abcl
9    :version "0.2.0"
10    :description "Convenience stubs to load locally installed Quicklisp."
11;;    #+nil::defsystem-depends-on (abcl-asdf)
12    :components nil)
13;; #+nil::needs-abcl-asdf((:iri "http://beta.quicklisp.org/quicklisp.lisp"))
14;;    #+nil::in-order-to ((asdf:compile-op (ql::install)))  ;;; FIXME tickle the internal Quicklisp setup
15
16(defmethod perform ((o load-op) (c (eql (find-system 'quicklisp-abcl))))
17  ;;; Load local Quicklisp if it has been an installed
18  (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
19                                         (user-homedir-pathname))))
20    (if (probe-file quicklisp-init)
21        (load quicklisp-init)
22        (handler-case
23            (load "https://beta.quicklisp.org/quicklisp.lisp")
24          (error (e)
25            (warn "Using insecure transport for remote installation
26              of Quicklisp:~&~A~&." e)
27            (load "http://beta.quicklisp.org/quicklisp.lisp"))))
28    (unless (find-package :quicklisp)
29      (funcall (intern "INSTALL" "QUICKLISP-QUICKSTART")))))
30
31       
32   
33 
34
35
Note: See TracBrowser for help on using the repository browser.