Created
January 1, 2015 09:14
-
-
Save tani/009c9218f078b98fb915 to your computer and use it in GitHub Desktop.
builld script for mit-scheme 64bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
arch='x86-64' | |
version='9.2' | |
package_name="mit-scheme" | |
url="http://ftpmirror.gnu.org/mit-scheme/stable.pkg/${version}/${package_name}-${version}-${arch}.tar.gz" | |
build=`mktemp -d ${PWD}/${package_name}-build.XXXXX` | |
mkdir ${build}/src && cd ${build}/src | |
wget $url | |
tar --gzip --extract \ | |
--file ${package_name}-${version}-${arch}.tar.gz | |
cd ${package_name}-${version}/src | |
./configure --prefix=${build} | |
make compile-microcode | |
make install | |
cd ${build} | |
tar --gzip --create --file \ | |
../${package_name}-${version}-`arch`.pkg . \ | |
--exclude ${build}/src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment