Line 1... |
Line 1... |
1 |
# $Id: Koakumafile 238 2024-10-03 04:57:36Z nishi $
|
1 |
# $Id: Koakumafile 239 2024-10-03 04:59:36Z nishi $
|
2 |
# vim: syntax=tcl
|
2 |
# vim: syntax=tcl
|
3 |
|
3 |
|
4 |
proc run {project_name} {
|
4 |
proc run {project_name} {
|
5 |
exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
|
5 |
exec sed "s/undef NO_SSL/define NO_SSL/g" config.h.tmpl > config.h
|
6 |
set ::env(DISPLAY) ":0"
|
6 |
set ::env(DISPLAY) ":0"
|
Line 26... |
Line 26... |
26 |
RunCommand "doas mkdir -p /raid/f/g/tewi/psp"
|
26 |
RunCommand "doas mkdir -p /raid/f/g/tewi/psp"
|
27 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/psp"
|
27 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/psp"
|
28 |
RunCommand "doas cp tewidist.zip /raid/f/g/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
28 |
RunCommand "doas cp tewidist.zip /raid/f/g/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
29 |
RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
29 |
RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/psp/tewidistpsp-[exec make get-version]-nossl.zip"
|
30 |
return
|
30 |
return
|
- |
|
31 |
} elseif { "$project_name" == "Tewi-PS3" } {
|
- |
|
32 |
set ::env(PS3DEV) "/usr/local/ps3dev"
|
- |
|
33 |
set ::env(PSL1GHT) "/usr/local/ps3dev"
|
- |
|
34 |
set ::env(PATH) "$::env(PATH):/usr/local/ps3dev/bin:/usr/local/ps3dev/ppu/bin:/usr/local/ps3dev/spu/bin"
|
- |
|
35 |
RunCommand "make PLATFORM=ps3"
|
- |
|
36 |
RunCommand "doas mkdir -p /raid/f/g/tewi/ps3"
|
- |
|
37 |
RunCommand "doas mkdir -p /raid/ftp/pub/tewi/ps3"
|
- |
|
38 |
RunCommand "doas cp Server/tewi.pkg /raid/f/g/tewi/ps3/tewidistps3-[exec make get-version]-nossl.pkg"
|
- |
|
39 |
RunCommand "doas cp Server/tewi.pkg /raid/ftp/pub/tewi/ps3/tewidistps3-[exec make get-version]-nossl.pkg"
|
- |
|
40 |
return
|
31 |
} elseif { "$project_name" == "Tewi-MinGW-32" || "$project_name" == "Tewi-MinGW-64" } {
|
41 |
} elseif { "$project_name" == "Tewi-MinGW-32" || "$project_name" == "Tewi-MinGW-64" } {
|
32 |
RunCommand "rm -rf openssl"
|
42 |
RunCommand "rm -rf openssl"
|
33 |
RunCommand "git clone https://github.com/clamwin/openssl"
|
43 |
RunCommand "git clone https://github.com/clamwin/openssl"
|
34 |
set bits 32
|
44 |
set bits 32
|
35 |
if { "$project_name" == "Tewi-MinGW-32" } {
|
45 |
if { "$project_name" == "Tewi-MinGW-32" } {
|