4e7ead7da5c86bc6151b57048c7f011e6571d416
[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.5 2003/04/15 15:36:03 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   :components
32   ((:file "package")
33    (:file "encode" :depends-on ("package"))
34    (:file "decode" :depends-on ("package"))
35    ))
36
37 (defmethod perform ((o test-op) (c (eql (find-system :base64))))
38   (or (load (compile-file "base64-tests.lisp"))
39          (error "test-op failed")))