r4482: Auto commit for Debian build
[cl-base64.git] / base64.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          base64.asd
6 ;;;; Purpose:       ASDF definition file for Base64
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Dec 2002
9 ;;;;
10 ;;;; $Id: base64.asd,v 1.7 2003/04/15 15:39:26 kevin Exp $
11 ;;;; *************************************************************************
12
13 (in-package :asdf)
14
15 (cl:defpackage #:base64-system
16     (:use #:asdf #:cl))
17 (cl:in-package #:base64-system)
18
19
20 (defsystem :base64
21   :name "cl-base64"
22   :author "Kevin M. Rosenberg based on initial code by Juri Pakaste"
23   :version "3.1"
24   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
25   :licence "BSD-style"
26   :description "Base64 encoding and decoding with URI support."
27   
28   :perform (load-op :after (op base64)
29             (pushnew :base64 cl:*features*))
30
31   :depends-on (:kmrcl :tester) ;; only for test-op
32   
33   :components
34   ((:file "package")
35    (:file "encode" :depends-on ("package"))
36    (:file "decode" :depends-on ("package"))
37    ))
38
39 (defmethod perform ((o test-op) (c (eql (find-system :base64))))
40   (or (load (compile-file "base64-tests.lisp"))
41          (error "test-op failed")))