--Apple-Mail-1-245096190
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset-ASCII;
	delspサ
	竟


マ チ アャ イーーカャ  キコエク チヘャ ヘ ヒ コ

セ              
セ   ソ

ユャ ョ  ノ    ノ   ョ  モ  
   ョ

ュュモ


ュュチュヘュアュイエオーケカアケー
テュヤュナコ キ
テュヤコ ッュサ
	ュュオオサ
	ョ「
テュトコ サ
	ョ

」。ッッ


ニナヤテネetch -ar"
#FETCHget"
#FETCH
url -O" WORKDIRwd`/work BOOTSTRAPDIRwd`/bootstrap BUNDIRwd`/bundle rm -rf build $BUNDIR $WORKDIR $BOOTSTRAPDIR mkdir -p build mkdir -p pkg mkdir -p $BUNDIR mkdir -p $WORKDIR mkdir -p $BOOTSTRAPDIR export LDFLAGSL$WORKDIR/lib" export CPPFLAGSI$WORKDIR/include" ORIGINAL_PATHPATH" export PATHWORKDIR/bin:$PATH" hash -r ################# ## Downloads ## ################# # can we auto download *latest* packages??? cd pkg $FETCH ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz $FETCH http://www.zlib.net/zlib-1.2.3.tar.gz $FETCH http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.1.tar.gz $FETCH http://www.openssl.org/source/openssl-0.9.8a.tar.gz $FETCH ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz $FETCH ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz $FETCH http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.5.tar.gz $FETCH http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz cd .. cd build ############### ## ncurses ## ############### tar zxvf ../pkg/ncurses-5.5.tar.gz cd ncurses-5.5 # build once so we can get the database and infocmp ./configure \ --prefix OOTSTRAPDIR \ --with-static \ --with-shared \ --without-debug \ --without-profile \ --without-ada && \ make && \ make install || exit 1 OLD_PATHPATH" export PATHBOOTSTRAPDIR/bin:$PATH" hash -r # build a second time, except embed a few termcaps (needed db & infocmp 1st) FALLBACKS nsi,linux,screen,screen-w,vt52,vt100,vt102,vt220,xterm,xterm-color,xterm-mono" ./configure \ --prefixORKDIR \ --with-static \ --without-shared \ --without-rpath \ --without-debug \ --without-profile \ --without-ada \ --without-progs \ --disable-database \ --with-fallbacksALLBACKS && \ make && \ make install || exit 1 export PATHOLD_PATH" hash -r cd .. ################ ## readline ## ################ tar zxvf ../pkg/readline-5.1.tar.gz cd readline-5.1 ./configure \ --prefixORKDIR \ --enable-static \ --disable-shared && \ make && \ make install || exit 1 cd .. ############ ## zlib ## ############ tar zxvf ../pkg/zlib-1.2.3.tar.gz cd zlib-1.2.3/ ./configure \ --prefixORKDIR && \ make && \ make install || exit 1 cd .. ############# ## iconv ## ############# tar zxvf ../pkg/libiconv-1.9.1.tar.gz cd libiconv-1.9.1/ ./configure \ --prefixORKDIR \ --enable-static \ --disable-shared \ --disable-rpath && \ make && \ make install || exit 1 cd .. ############### ## OpenSSL ## ############### # cannot link statically with openssl # conflicts with digest extension!!! #tar zxvf ../pkg/openssl-0.9.8a.tar.gz #cd openssl-0.9.8a/ ## cannot build with zlib b/c ruby's ext mkmf fails to add -lz #./config \ # --prefixORKDIR \ # --openssldirORKDIR \ # -L$WORKDIR/lib \ # -I$WORKDIR/include \ # no-shared \ # no-asm && \ #make && \ #make install || exit 1 #cd .. ############ ## gdbm ## ############ tar zxvf ../pkg/gdbm-1.8.3.tar.gz cd gdbm-1.8.3/ ./configure \ --prefixORKDIR \ --enable-static \ --disable-shared && \ make && \ make install BINOWNSER BINGRPROUP && \ make install-compat BINOWNSER BINGRPROUP || exit 1 cd .. ############ ## Ruby ## ############ tar zxvf ../pkg/ruby-1.8.4.tar.gz cd ruby-1.8.4 ./configure \ --prefix UNDIR \ --enable-static \ --disable-shared \ --disable-rpath \ --with-static-linked-ext \ --enable-install-doc \ --with-curses-dirORKDIR \ --with-dbm-dirORKDIR \ --with-gdbm-dirORKDIR \ --with-iconv-dirORKDIR \ --with-openssl-dirORKDIR \ --with-readline-dirORKDIR \ --with-zlib-dirORKDIR && \ make && \ make install || exit 1 cd .. ############################## ## Setup Ruby Environment ## ############################## export PATHBUNDIR/bin:$ORIGINAL_PATH" hash -r ######################## ## Install RubyGems ## ######################## tar xzvf ../pkg/rubygems-0.8.11.tgz cd rubygems-0.8.11 ruby setup.rb cd .. ############ ## Gems ## ############ tar xzvf ../pkg/rubygems-0.8.11.tgz gem update --system -y gem install rails -y gem install capistrano -y cd .. echo "Bundle complete!" --Apple-Mail-1-245096190--