comparison R/rdyncall/tools/bootstrap @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0cfcc391201f
1 download_zip()
2 {
3 VERSION=0.6
4 NAME=dyncall-${VERSION}
5 ZIP=${NAME}.zip
6 wget http://dyncall.org/r${VERSION}/${ZIP}
7 unzip ${ZIP}
8 mv ${NAME} src/dyncall
9 rm ${ZIP}
10 }
11
12 checkout_src()
13 {
14 svn co https://dyncall.org/svn/dyncall/trunk/dyncall src/dyncall
15 svnversion src/dyncall >src/dyncall/SVNVERSION
16 }
17
18 configure_dyncall()
19 {
20 cat <<EOF >src/dyncall/ConfigVars
21 #auto-generated by dyncall/configure
22 CONFIG_PACKAGE=dyncall
23 CONFIG_ARCH=universal
24 CONFIG_TOOL=gcc
25 CONFIG_ASM=gcc
26 CONFIG_CONFIG=release
27 CONFIG_BUILDPREFIX=.
28 EOF
29 }
30
31 # choose between 'checkout_src' or 'download_zip'
32
33 checkout_src
34 # download_zip
35 # configure_dyncall
36