1ed0a2c5 |
1 | ;;; -*- Mode: lisp -*- |
2 | |
bd977e2a |
3 | (asdf:oos 'asdf:load-op :clg-tools) |
4 | |
1ed0a2c5 |
5 | (defpackage "CAIRO-SYSTEM" |
6 | (:use "COMMON-LISP" "ASDF" "PKG-CONFIG")) |
7 | |
8 | |
9 | (in-package "CAIRO-SYSTEM") |
10 | |
b5030436 |
11 | (pkg-exists-p "cairo" :atleast-version "1.2.0" :error t) |
1ed0a2c5 |
12 | |
13 | |
14 | (defsystem cairo |
33cee578 |
15 | :depends-on (gffi glib) |
1ed0a2c5 |
16 | :components ((:library "libcairo" |
bcf9b1af |
17 | :libname #-win32 "libcairo" |
18 | #+win32 "libcairo-2" |
cf37be68 |
19 | :libdir #.(pkg-libdir "cairo")) |
1ed0a2c5 |
20 | (:file "defpackage") |
21 | (:file "cairo" :depends-on ("defpackage" "libcairo")) |
22 | (:file "export" :depends-on ("cairo")))) |