Changeset 15325 in project


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

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

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

Legend:

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

    r978 r15325  
    11;;; svn-client.meta -*- Hen -*-
    22((files "svn-client.scm" "svn-client.setup" "svn-client.html")
    3  (egg "svn-client.egg")
    43 (doc-from-wiki)
    54 (author "Alejandro Forero Cuervo")
  • release/4/svn-client/trunk/svn-client.scm

    r12509 r15325  
     1(module svn-client
     2  *
     3
     4(import chicken scheme foreign)
     5
    16(declare (foreign-declare #<<EOF
    27#include <apr.h>
     
    802807  ((gc-root-ref baton) path info)
    803808  svn-no-error)
     809)
  • 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.