# for emacs: -*- mode: sh; -*-

# following information found from Andy's description:
#	http://genomewiki.ucsc.edu/index.php/WindowMasker

# to build window masker, take a look at the FTP directory
#	to see the most recent version:

#	ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/CURRENT/

#	In some work directory:

mkdir /hive/data/outside/ncbiToolKit
cd /hive/data/outside/ncbiToolKit

#	Fetch the toolkit:

wget --timestamping \
ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/CURRENT/ncbi_cxx--7_0_0.tar.gz

#	unpack

tar xvzf ncbi_cxx--7_0_0.tar.gz

#	creates this working directory:

cd ncbi_cxx--7_0_0

./configure --without-debug --with-optimization \
    --with-projects=src/app/winmasker/windowmasker.lst

#	building this source:
cd GCC412-Release64/build
time make all_p > make.log 2>&1

