1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
6 ;;;; Purpose: ASDF definition file for Pubmed
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Sep 2002
10 ;;;; $Id: pubmed.asd,v 1.2 2002/10/31 01:54:12 kevin Exp $
12 ;;;; This file, part of cl-pubmed, is Copyright (c) 2002 by Kevin M. Rosenberg
14 ;;;; cl-pubmed users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the GNU Lesser General Public License
16 ;;;; (http://www.gnu.org/licenses/lgpl.html)
17 ;;;; *************************************************************************
21 #+(and allegro common-lisp-controller) (c-l-c::clc-require :aserve)
22 #+(and allegro (not common-lisp-controller)) (require :aserve)
24 ;; only define system on implementations that aserve is available
25 #+(or allegro lispworks cmucl mcl openmcl)
28 :author "Kevin M. Rosenberg <kevin@rosenberg.net>"
30 :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
31 :licence "GNU Lesser General Public License"
32 :description "Library for querying the PubMed medical literature database"
33 :long-description "This library has functions for querying the PubMed medical literature database and parsing the XML results into Common Lisp objects."
35 :perform (load-op :after (op pubmed)
36 (pushnew :pubmed cl:*features*))
38 :components ((:file "pubmed"))
40 :depends-on (:kmrcl #-allegro :aserve))
42 ;; only define system on implementations that aserve is available
43 #+(or allegro lispworks cmucl mcl openmcl)
44 (when (ignore-errors (find-class 'load-compiled-op))
45 (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :pubmed))))
46 (pushnew :pubmed cl:*features*)))