Changeset 15030 in project


Ignore:
Timestamp:
06/19/09 04:07:30 (10 years ago)
Author:
Ivan Raikov
Message:

added lognum sources to release/4 branch

Location:
release/4/lognum
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/lognum/trunk/lognum.meta

    r12980 r15030  
    1818 ; A list of eggs lognum depends on.
    1919
    20  (needs syntax-case matchable datatype )
     20 (needs matchable datatype )
    2121
    2222 (doc-from-wiki)
  • release/4/lognum/trunk/lognum.scm

    r12980 r15030  
    2020;;
    2121
     22(module lognum
    2223
    23 (require-extension syntax-case)
    24 (require-extension matchable)
    25 (require-extension datatype)
    2624
    27 (define-extension lognum)
     25(import scheme chicken)
     26
     27(require-extension matchable datatype)
    2828
    2929(define-datatype lognum lognum?
     
    102102
    103103|#
     104)
  • release/4/lognum/trunk/lognum.setup

    r12980 r15030  
    11;; -*- Hen -*-
    2 
    3 (define has-exports? (string>=? (chicken-version) "2.310"))
    42
    53(define (dynld-name fn)         
    64  (make-pathname #f fn ##sys#load-dynamic-extension))   
    75
    8 (compile -O2 -d0 -s
    9          ,@(if has-exports? '(-check-imports -emit-exports lognum.exports) '())
    10          lognum.scm)
     6(compile -O2 -d0 -s lognum.scm -j lognum)
     7(compile -s lognum.import.scm)
    118
    129(install-extension
     
    1613
    1714  ;; Files to install for your extension:
    18   `(,(dynld-name "lognum")
    19     ,@(if has-exports? '("lognum.exports") (list)) )
    20  
     15  `(,(dynld-name "lognum") ,(dynld-name "lognum.import") )
    2116
    2217  ;; Assoc list with properties for your extension:
    2318  '((version 1.0)
    2419    (documentation "lognum.html")
    25     ,@(if has-exports? `((exports "lognum.exports")) (list)) ))
     20    ))
     21
Note: See TracChangeset for help on using the changeset viewer.