source: project/release/3/varsubst/trunk/varsubst.setup @ 12682

Last change on this file since 12682 was 12682, checked in by Ivan Raikov, 13 years ago

Version set to 1.1

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