Ignore:
Timestamp:
08/05/09 13:18:38 (11 years ago)
Author:
sjamaan
Message:

Initial, quick 'n dirty port of svn-client to chicken 4

Location:
release/4/svn-client
Files:
1 edited
1 copied

Legend:

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

    r12424 r15325  
    1 (define has-exports? (string>=? (chicken-version) "2.310"))
    2 
    31(run (csc -s -O2 -d0 svn-client.scm
    42          "-C`apr-config --includes || apr-1-config --includes`" -L "\"`apr-config --libs --link-ld 2>/dev/null || apr-1-config --libs --link-ld`\""
    53          -lsvn_client-1
    6           ,(if has-exports? "-check-imports -emit-exports svn-client.exports" "")
     4          -j svn-client
    75          ,(if (eq? (software-version) 'macosx) "-lsvn_subr-1" "")
    86          -C -I/usr/include/subversion-1 -C -I/usr/local/include/subversion-1
     
    108          ))
    119
     10(compile -s -O2 svn-client.import.scm)
     11
    1212(install-extension
    1313  '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 "svn-client.exports")) (list))
     14  `("svn-client.so" "svn-client.import.so" "svn-client.html")
     15  `((version 0.8)
    1716    (documentation "svn-client.html")))
Note: See TracChangeset for help on using the changeset viewer.