Changeset 12419 in project


Ignore:
Timestamp:
11/09/08 17:32:52 (11 years ago)
Author:
azul
Message:

Use exports, dynamic version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/svn-client/trunk/svn-client.setup

    r3516 r12419  
     1(define has-exports? (string>=? (chicken-version) "2.310"))
     2
    13(run (csc -s -O2 -d0 svn-client.scm
    24          "-C`apr-config --includes || apr-1-config --includes`" -L "\"`apr-config --libs --link-ld 2>/dev/null || apr-1-config --libs --link-ld`\""
    35          -lsvn_client-1
     6          ,@(if has-exports? '(-check-imports -emit-exports svn-client.exports) '())
    47          ,(if (eq? (software-version) 'macosx) "-lsvn_subr-1" "")
    58          -C -I/usr/include/subversion-1 -C -I/usr/local/include/subversion-1
     
    710          ))
    811
    9 (install-extension 'svn-client '("svn-client.so" "svn-client.html") '((version 0.7) (documentation "svn-client.html")))
     12(install-extension
     13  'svn-client
     14  '("svn-client.so" "svn-client.html" ,@(if has-exports? '("svn-client.exports") (list)))
     15  '((version ,(if (file-exists? version) (with-input-from-file "version" read) "unknown"))
     16    ,@(if has-exports? `((exports "orders.exports")) (list))
     17    (documentation "svn-client.html")))
Note: See TracChangeset for help on using the changeset viewer.