source: project/release/3/icalendar/trunk/icalendar.setup @ 11462

Last change on this file since 11462 was 11462, checked in by Ivan Raikov, 12 years ago

Created subdir tests.

File size: 673 bytes
Line 
1;; -*- Hen -*-
2
3(define has-exports? (string>=? (chicken-version) "2.310"))
4
5(define (dynld-name fn)         
6  (make-pathname #f fn ##sys#load-dynamic-extension))   
7
8(run (csi -s icalendar.grm))
9
10(compile -O2 -d0 -s
11         ,@(if has-exports? '(-check-imports -emit-exports icalendar.exports) '())
12         icalendar.scm)
13
14(install-extension
15
16 ;; Name of your extension:
17  'icalendar
18
19  ;; Files to install for your extension:
20  `(,(dynld-name "icalendar")
21    ,@(if has-exports? '("icalendar.exports") (list)) )
22 
23
24  ;; Assoc list with properties for your extension:
25  '((version 1.0)
26    (documentation "icalendar.html")
27    ,@(if has-exports? `((exports "icalendar.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.