asdf-install used to be a program for downloading and installing lisp packages. You could call it an ASDF-extension. It:
Please check the ASDF-Install bugs and ASDF-Install enhancement requests pages to add your thoughts about what isn't working and what might work better! You might also want to see the ASDF-Install FAQ.
In a hurry, have a look at: FirstStepsWithAsdfAndAsdfInstall
A tutorial for the "portable" (see below) version can be found at http://common-lisp.net/project/asdf-install/tutorial/index.html. There is also information on GPG for ASDF-Install developers and on ASDF-Install and GPG here on the CLiki.
Depending on how you count there are currently two or three variants of ASDF-INSTALL:
* (require 'asdf) * (require 'asdf-install) ;; works on SBCL, may require more work on other Lisps * (asdf-install:install 'cliki)
(asdf:oos 'asdf:load-op :vecto) ;; loads vecto
tar -cvzf systemname_version.tar.gz systemname_version/If your package is called `mail-reader', version 0.1, the tarball would be called mail-reader_0.1.tar.gz and unpack into mail-reader_0.1/. It is OK if there are directories nested below the systemname_version directory but all the *.asd files must reside in the toplevel directory.
gpg -b -a mail-reader_0.1.tar.gzwhich will generate mail-reader_0.1.tar.gz.asc. If you need more help with this step, see GPG for ASDF-Install developers.
Note we've added a space between the : and the ( - in an actual page this should be omitted.: (package "http://www.example.com/lisp/mail-reader_0.1.tar.gz")
If you want to have the package added to cclan proper (optional, but nice if you want it mirrored or don't have suitable web space), contact a cclan node maintainer using cclan-list to arrange upload. Then you can write the package token as
: (package "mail-reader_0.1.tar.gz")
and asdf-install will use a user-configurable cclan mirror.
Note that the name of the cliki page must match the system name as known to asdf. The name of the tar file is non-critical, though: for example if you regularly put new versions out and don't want to update cliki every time, you can use a symlink. The .asc file name, however, must correspond with the tar file name - so in that case you'd need two symlinks.
There is a script (asdf-packaging-tools) to automate the packaging process for ASDF-INSTALL.
To download tarballs directly (without using ASDF-Install itself) you can use following shell script (downlads package to file package-name.tar.gz in current directory).
# You can configure your CClan mirror site here.
CCLAN=http://www-jcsu.jesus.cam.ac.uk/ftp/pub/cclan/
PACKAGE="$1"
shift
exec wget \
--no-cookies --header "Cookie: CCLAN-SITE=$CCLAN" \
-O $PACKAGE.tar.gz "${@}" \
"http://cliki.net/$PACKAGE?download"
#!/bin/sh
Users should read ASDF-Install and GPG. Developers should read GPG for ASDF-Install developers.
Download ASDF package from http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz
--- C:/clisp/asdf-install/load-asdf-install.lisp 2006-03-22 01:05:39.000000000 +1000
+++ load-asdf-install.lisp 2006-08-09 15:44:42.671875000 +1000
@@ -55,13 +55,19 @@
:host (pathname-host directory)
:device (pathname-device directory)
:directory (append (pathname-directory directory)
- (list :wild-inferiors))))
+ (list :wild-inferiors))
+ :name :wild
+ :type :wild
+ :version :wild))
("**;*.*"
,(make-pathname
:host (pathname-host directory)
:device (pathname-device directory)
:directory (append (pathname-directory directory)
- (list :wild-inferiors))))))
+ (list :wild-inferiors))
+ :name :wild
+ :type :wild
+ ))))
Pages in this topic: Anaphora asdf-config cm common-lisp-controller FirstStepsWithAsdfAndAsdfInstall resolver SLIME
Also linked from: affi array-operations asdf ASDF-Binary-Locations ASDF-Install and GPG ASDF-Install-Tester ASDF-Install-Tester Bugs ASDF-Install-Tester How-to ASDF-Install-Tester Organization asdf-install-tester-packages-list ASDF-installable-version ASDF-Upgrade Basic-English-Grammar cCLan cclan-get cgn Chemboy cirCLe CL-AJAX cl-blog cl-btree cl-cairo2 cl-factoradic cl-glut cl-gtk2 cl-gtk2-cairo cl-gtk2-gdk cl-gtk2-glib cl-gtk2-gtk cl-gtk2-gtkglext cl-gtk2-pango cl-heredoc cl-jpeg cl-m4 cl-menusystem cl-numlib cl-opengl cl-wal CLiki Bugs Closer to MOP closer-mop CommonQt desire diff docudown Edi Weitz evol FFA FFT Gabor Melis GPG for ASDF-Install developers hello-lisp HT-AJAX ISBN ITERATE Joshua Taylor Kevin Reid Levenshtein McCLIM mk-defsystem NIO Obtain libraries Parenscript periodic-table Peter Scott Portable-Threads Practical Common Lisp repo-install SNMP Soundex spartns testbild text-query yacc
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively