source: rubycfg_ssp/trunk/build_ssp_ruby.sh@ 292

Last change on this file since 292 was 292, checked in by nmir-saito, 7 years ago

ビルド用スクリプトファイルを追加

  • Property svn:executable set to *
File size: 823 bytes
RevLine 
[292]1#!/usr/bin/env bash
2set -eu
3
4SCRIPT_DIR=$(cd $(dirname $0);pwd)
5
6if [ ! -e asp3 ]; then
7 if [ ! -e asp3-3.1.0.tar.gz ]; then
8 curl https://www.toppers.jp/download.cgi/asp3-3.1.0.tar.gz -o asp3-3.1.0.tar.gz
9 fi
10 tar xvf asp3-3.1.0.tar.gz
11fi
12
13if [ ! -e ssp_ruby ]; then
14 if [ ! -e ssp-1.3.0.tar.gz ]; then
15 curl http://www.toppers.jp/download.cgi/ssp-1.3.0.tar.gz -o ssp-1.3.0.tar.gz
16 fi
17 mkdir ssp_ruby
18 tar xvf ssp-1.3.0.tar.gz -C ssp_ruby --strip-components 2
19fi
20
21for i in `find ssp_ruby -type f` ; do nkf --overwrite --oc=UTF-8 $i; done
22cp -a asp3/sample/Makefile ssp_ruby/sample
23
24${SCRIPT_DIR}/install.sh ssp_ruby
25
26cd ssp_ruby
27ln -s ../asp3/configure.rb configure.rb
28ln -s ../asp3/cfg cfg
29
30# build a kernel with the ruby configurator
31mkdir build
32cd build
33../configure.rb -T cq_frk_fm3_gcc -w
34make
35
36exit 0
37
Note: See TracBrowser for help on using the repository browser.