source: project/release/3/svn-client/trunk/svn-client.setup @ 12424

Last change on this file since 12424 was 12424, checked in by azul, 11 years ago

fixes

File size: 842 bytes
Line 
1(define has-exports? (string>=? (chicken-version) "2.310"))
2
3(run (csc -s -O2 -d0 svn-client.scm
4          "-C`apr-config --includes || apr-1-config --includes`" -L "\"`apr-config --libs --link-ld 2>/dev/null || apr-1-config --libs --link-ld`\""
5          -lsvn_client-1
6          ,(if has-exports? "-check-imports -emit-exports svn-client.exports" "")
7          ,(if (eq? (software-version) 'macosx) "-lsvn_subr-1" "")
8          -C -I/usr/include/subversion-1 -C -I/usr/local/include/subversion-1
9          -C -D_LARGEFILE64_SOURCE
10          ))
11
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 "svn-client.exports")) (list))
17    (documentation "svn-client.html")))
Note: See TracBrowser for help on using the repository browser.