Move version string to an external file
[iolib.git] / src / iolib.trivial-sockets.asd
blob17234086d6fc99e1aeeb5b1d7e81c23a1df585ca
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (eval-when (:compile-toplevel :load-toplevel :execute)
4   (asdf:oos 'asdf:load-op :iolib.base))
6 (in-package :iolib.asdf)
8 (defsystem :iolib.trivial-sockets
9   :description "Trivial-Sockets compatibility layer."
10   :author "Dan Barlow <dan@telent.net>"
11   :maintainer "Stelian Ionescu <sionescu@cddr.org>"
12   :version #.(with-open-file (f (merge-pathnames "../version.lisp-expr"
13                                                  (or *compile-file-pathname*
14                                                      *load-truename*)))
15                (read f))
16   :licence "MIT"
17   :depends-on (:iolib.base :iolib.sockets)
18   :default-component-class iolib-source-file
19   :pathname #-asdf2 (merge-pathnames "sockets/" *load-truename*)
20             #+asdf2 "sockets/"
21   :components
22   ((:file "trivial-sockets")))