source: project/release/3/svnwiki-extensions/trunk/svnwiki-extensions.setup @ 12533

Last change on this file since 12533 was 12533, checked in by azul, 11 years ago

Importing svnwiki extensions.

File size: 1.2 KB
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(compile  -O2 -d0 -s
9         ,@(if has-exports? '(-check-imports -emit-exports svnwiki-extensions-support.exports) '())
10         svnwiki-extensions-support-base.scm)
11
12(compile  -O2 -d0 -s
13         svnwiki-extensions.scm)
14
15(install-extension
16
17  ; Name of your extension:
18  'svnwiki-extensions
19
20  ; Files to install for your extension:
21  `(,(dynld-name "svnwiki-extensions"))
22
23  ; Assoc list with properties for your extension:
24  '((version 1.0)
25    (documentation "svnwiki-extensions.html")))
26
27(install-extension
28
29  ; Name of your extension:
30  'svnwiki-extensions-support
31
32  ; Files to install for your extension:
33  `(,(dynld-name "svnwiki-extensions-support-base")
34    "svnwiki-extensions-support.scm"
35    ,@(if has-exports? '("svnwiki-extensions-support.exports") (list)) )
36
37  ; Assoc list with properties for your extension:
38  `((version 1.0)
39    (syntax)
40    (require-at-runtime svnwiki-extensions-support-base)
41    (documentation "svnwiki-extensions.html")
42    ,@(if has-exports? `((exports "svnwiki-extensions-support.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.