# package variables: id=htseq version=0.5.3p9 description='Analysing high-throughput sequencing data with Python' binaries="htseq-count htseq-qa" url_doc='http://www-huber.embl.de/users/anders/HTSeq/doc/' dir="HTSeq-$version" url_get="http://pypi.python.org/packages/source/H/HTSeq/$dir.tar.gz" # scratch variables: scratch="/lustre/scratch/$USER/$id" alias clean="lrm -r $scratch" # install variables: compiler='gcc/4.6.2' require='numpy/1.6.1-2.7' prefix="${WORKDIR}/sw/$id" installhome="$prefix/$version" pythondir="$installhome/lib/python" # VALET variables. valetdir="${WORKDIR}/sw/valet" test -z "$WORKDIR" && echo "WORKDIR not set, start a workgroup shell." && return 1 # setup directories mkdir -p -m 1777 "$valetdir" mkdir -p "$installhome/bin" "$pythondir" mkdir -p "$scratch" test -d "$scratch/$dir" || curl "$url_get" | tar -zxf - -C "$scratch"