Ignore:
Timestamp:
08/27/08 20:19:18 (12 years ago)
Author:
sjamaan
Message:

Port uri-generic to chicken 4, using the test egg instead of testbase

Location:
release/4/uri-generic
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/uri-generic/trunk/uri-generic.setup

    r11744 r11779  
    11;; -*- Hen -*-
    22
    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 uri-generic.exports) '())
    10          uri-generic.scm)
     3(compile -s -O2 uri-generic.scm -j uri-generic)
     4(compile -s -O2 uri-generic.import.scm)
    115
    126(install-extension
     
    1610
    1711  ;; Files to install for your extension:
    18   `(,(dynld-name "uri-generic")
    19     ,@(if has-exports? '("uri-generic.exports") (list)) )
    20  
     12  `("uri-generic.so" "uri-generic.import.so")
    2113
    2214  ;; Assoc list with properties for your extension:
    23   '((version 1.2)
    24     (documentation "uri-generic.html")
    25     ,@(if has-exports? `((exports "uri-generic.exports")) (list)) ))
     15  '((version 1.3)
     16    (documentation "uri-generic.html")))
Note: See TracChangeset for help on using the changeset viewer.