source: branches/0.22.x/abcl/contrib/asdf-install/defpackage.lisp

Last change on this file was 12487, checked in by Mark Evenson, 15 years ago

Port of ASDF-INSTALL under 'contrib/asdf-install'.

'abcl.contrib' will package ASDF-INSTALL in dist/abcl-contrib.jar.

We only have one contrib 'asdf-install'. It is not expected to work
well under Windows at the moment.

To use ASDF-INSTALL, use the following in your ~/.abclrc:

(require 'asdf)
(pushnew "jar:file:${dist.dir}/abcl-contrib.jar!/asdf-install/" asdf:*central-registry*)

Then issuing

CL-USER> (require 'asdf-install)

will load ASDF-INSTALL.

A file ~/.asdf-install can contain customizations to help ASDF-INSTALL
find the programs 'tar' and 'gpg'. 'tar' is searched for in
asdf-install:*shell-search-paths*. The location of 'gpg' can be
customized by setting *gpg-command* to a string containing the file.
This behavior should be rationalized in the future.

ASDF-INSTALL tested under OSX.

File size: 1.1 KB
Line 
1(cl:in-package :cl-user)
2
3(defpackage #:asdf-install
4  (:use #:common-lisp)
5 
6  #+asdf
7  (:import-from #:asdf #:*defined-systems*)
8  (:export
9
10   ;; Customizable variables.
11   #:*shell-path*
12   #:*proxy*
13   #:*cclan-mirror*
14   #:asdf-install-dirs
15   #:private-asdf-install-dirs
16   #:*tar-extractors*
17
18   #:*shell-search-paths*
19   #:*verify-gpg-signatures*
20   #:*locations*
21   #:*safe-url-prefixes*
22   #:*preferred-location*
23   #:*temporary-directory*
24   
25   ;; External entry points.   
26   #:add-locations
27   #:add-registry-location
28   #:uninstall
29   #:install
30   #:asdf-install-version
31
32   #+(and asdf (or :win32 :mswindows))
33   #:sysdef-source-dir-search   
34   
35   ;; proxy authentication
36   #:*proxy-user*
37   #:*proxy-passwd*
38   
39   ;; conditions
40   #:download-error
41   #:signature-error
42   #:gpg-error
43   #:gpg-shell-error
44   #:key-not-found
45   #:key-not-trusted
46   #:author-not-trusted
47   #:installation-abort
48
49   ;; restarts
50   #:install-anyways
51   )
52 
53  #+(or :win32 :mswindows)
54  (:export
55   #:*cygwin-bin-directory*
56   #:*cygwin-bash-command*))
57
58(defpackage #:asdf-install-customize
59  (:use #:common-lisp #:asdf-install))
Note: See TracBrowser for help on using the repository browser.