export CONDA_BUILD="1"
export PYTHONNOUSERSITE="1"
export CONDA_DEFAULT_ENV="/opt/anaconda1anaconda2anaconda3"
export ARCH="64"
export PREFIX="/opt/anaconda1anaconda2anaconda3"
export BUILD_PREFIX="/opt/anaconda1anaconda2anaconda3"
export SYS_PREFIX="/Users/distiller/project/miniconda"
export SYS_PYTHON="/Users/distiller/project/miniconda/bin/python"
export SUBDIR="osx-64"
export SRC_DIR="/Users/distiller/project/miniconda/conda-bld/transdecoder_1529570855367/work"
export ROOT="/Users/distiller/project/miniconda"
export CONDA_PY="27"
export PY3K="0"
export PY_VER="2.7"
export STDLIB_DIR="/opt/anaconda1anaconda2anaconda3/lib/python2.7"
export SP_DIR="/opt/anaconda1anaconda2anaconda3/lib/python2.7/site-packages"
export NPY_VER="1.9"
export CONDA_NPY="19"
export PERL_VER="5.26"
export CONDA_PERL="5.26"
export LUA_VER="5"
export CONDA_LUA="5"
export R_VER="3.4.1"
export CONDA_R="3.4.1"
export PKG_NAME="transdecoder"
export PKG_VERSION="2.1.0"
export PKG_BUILDNUM="4"
export PKG_BUILD_STRING="placeholder"
export PKG_HASH="1234567"
export RECIPE_DIR="/Users/distiller/project/recipes/transdecoder/2.1.0"
export CPU_COUNT="4"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export SHLIB_EXT=".dylib"
export PATH="/opt/anaconda1anaconda2anaconda3:/opt/anaconda1anaconda2anaconda3/bin:/Users/distiller/project/miniconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export HOME="UNKNOWN"
export PKG_CONFIG_PATH="/opt/anaconda1anaconda2anaconda3/lib/pkgconfig"
export CMAKE_GENERATOR="Unix Makefiles"
export OSX_ARCH="x86_64"
export MACOSX_DEPLOYMENT_TARGET="10.9"
export BUILD="x86_64-apple-darwin13.4.0"
export r_base="3.4.1"
export cpu_optimization_target="nocona"
export cran_mirror="https://cran.r-project.org"
export target_platform="osx-64"
export c_compiler="toolchain_c"
export cxx_compiler="toolchain_cxx"
export fortran_compiler="toolchain_fort"
export blas_impl="openblas"
export macos_min_version="10.9"
export macos_machine="x86_64-apple-darwin13.4.0"
export VERBOSE_AT="V=1"
export VERBOSE_CM="VERBOSE=1"
export arpack="3.5"
export boost="1.66.0"
export boost_cpp="1.66.0"
export bzip2="1"
export cairo="1.14"
export curl="7.59"
export dbus="1"
export expat="2.2"
export ffmpeg="4.0"
export flann="1.9.1"
export fontconfig="2.13"
export freetype="2.8.1"
export gsl="2.2"
export gstreamer="1.12"
export gst_plugins_base="1.12"
export gdal="2.2"
export geos="3.6.2"
export giflib="5.1"
export glew="2.0.0"
export glib="2.55"
export glpk="4.65"
export gmp="6"
export harfbuzz="1.7"
export hdf4="4.2"
export hdf5="1.10.2"
export icu="58"
export isl="0.19"
export jpeg="9"
export json_c="0.12"
export jsoncpp="1.8.1"
export krb5="1.14"
export libblitz="0.10"
export libdap4="3.19"
export libevent="2.0.22"
export libffi="3.2"
export libgdal="2.2"
export libiconv="1.15"
export libkml="1.3"
export libmatio="1.5"
export libnetcdf="4.5"
export libpcap="1.8"
export libpng="1.6.34"
export libprotobuf="3.5"
export librdkafka="0.9.4"
export libssh2="1.8"
export libsvm="3.21"
export libtiff="4.0.9"
export libunwind="1.2"
export libwebp="0.5"
export libxml2="2.9"
export lz4_c="1.8.1"
export lzo="2"
export metis="5.1"
export mkl="2018"
export mpfr="4"
export ncurses="5.9"
export netcdf_cxx4="4.3"
export netcdf_fortran="4.4"
export nettle="3.3"
export openblas="0.2.20"
export openjpeg="2.3"
export openssl="1.0.2"
export pango="1.40"
export pixman="0.34"
export poppler="0.61"
export proj4="4.9.3"
export readline="7.0"
export snappy="1.1.7"
export sox="14.4.2"
export sqlite="3"
export sundials="2.7"
export tk="8.6"
export vlfeat="0.9.20"
export xerces_c="3.2.0"
export xz="5.2"
export zeromq="4.2.1"
export zlib="1.2"
export zstd="1.3.3"
export htslib="1.7"
export bamtools="2.4.1"
export pyqt="5.6"
export ignore_build_only_deps="python"
export qt="5.6"
export pin_run_as_build="OrderedDict([('python', OrderedDict([('min_pin', 'x.x'), ('max_pin', 'x.x')])), ('r-base', {'max_pin': 'x.x.x'}), ('arpack', {'max_pin': 'x.x'}), ('boost', {'max_pin': 'x.x.x'}), ('boost-cpp', {'max_pin': 'x.x.x'}), ('bzip2', {'max_pin': 'x'}), ('cairo', {'max_pin': 'x.x'}), ('curl', {'max_pin': 'x'}), ('dbus', {'max_pin': 'x'}), ('expat', {'max_pin': 'x.x'}), ('ffmpeg', {'max_pin': 'x.x'}), ('flann', {'max_pin': 'x.x.x'}), ('fontconfig', {'max_pin': 'x'}), ('freetype', {'max_pin': 'x.x'}), ('gsl', {'max_pin': 'x.x'}), ('gstreamer', {'max_pin': 'x.x'}), ('gst-plugins-base', {'max_pin': 'x.x'}), ('gdal', {'max_pin': 'x.x'}), ('geos', {'max_pin': 'x.x.x'}), ('giflib', {'max_pin': 'x.x'}), ('glew', {'max_pin': 'x.x'}), ('glib', {'max_pin': 'x.x'}), ('glpk', {'max_pin': 'x.x'}), ('gmp', {'max_pin': 'x'}), ('harfbuzz', {'max_pin': 'x.x'}), ('hdf4', {'max_pin': 'x.x'}), ('hdf5', {'max_pin': 'x.x.x'}), ('icu', {'max_pin': 'x'}), ('isl', {'max_pin': 'x.x'}), ('jpeg', {'max_pin': 'x'}), ('json-c', {'max_pin': 'x.x'}), ('jsoncpp', {'max_pin': 'x.x.x'}), ('krb5', {'max_pin': 'x.x'}), ('libblitz', {'max_pin': 'x.x'}), ('libdap4', {'max_pin': 'x.x'}), ('libevent', {'max_pin': 'x.x.x'}), ('libffi', {'max_pin': 'x.x'}), ('libgdal', {'max_pin': 'x.x'}), ('libiconv', {'max_pin': 'x.x'}), ('libkml', {'max_pin': 'x.x'}), ('libmatio', {'max_pin': 'x.x'}), ('libnetcdf', {'max_pin': 'x.x'}), ('libpcap', {'max_pin': 'x.x'}), ('libpng', {'max_pin': 'x.x'}), ('libprotobuf', {'max_pin': 'x.x'}), ('librdkafka', {'max_pin': 'x.x.x'}), ('libssh2', {'max_pin': 'x.x'}), ('libsvm', {'max_pin': 'x.x'}), ('libunwind', {'max_pin': 'x.x'}), ('libtiff', {'max_pin': 'x'}), ('libwebp', {'max_pin': 'x.x'}), ('libxml2', {'max_pin': 'x.x'}), ('lz4-c', {'max_pin': 'x.x.x'}), ('lzo', {'max_pin': 'x'}), ('metis', {'max_pin': 'x.x'}), ('mkl', {'max_pin': 'x'}), ('mpfr', {'max_pin': 'x'}), ('ncurses', {'max_pin': 'x.x'}), ('netcdf-cxx4', {'max_pin': 'x.x'}), ('netcdf-fortran', {'max_pin': 'x.x'}), ('nettle', {'max_pin': 'x.x'}), ('openblas', {'max_pin': 'x.x.x'}), ('openjpeg', {'max_pin': 'x.x'}), ('openssl', {'max_pin': 'x.x.x'}), ('pango', {'max_pin': 'x.x'}), ('perl', {'max_pin': 'x.x'}), ('pixman', {'max_pin': 'x.x'}), ('poppler', {'max_pin': 'x.x'}), ('proj4', {'max_pin': 'x.x.x'}), ('pyqt', {'max_pin': 'x.x'}), ('qt', {'max_pin': 'x.x'}), ('readline', {'max_pin': 'x.x'}), ('snappy', {'max_pin': 'x.x.x'}), ('sox', {'max_pin': 'x.x.x'}), ('sqlite', {'max_pin': 'x'}), ('sundials', {'max_pin': 'x.x'}), ('tk', {'max_pin': 'x.x'}), ('vc', {'max_pin': 'x'}), ('vlfeat', {'max_pin': 'x.x.x'}), ('xerces-c', {'max_pin': 'x.x.x'}), ('xz', {'max_pin': 'x.x'}), ('zeromq', {'max_pin': 'x.x.x'}), ('zlib', {'max_pin': 'x.x'}), ('zstd', {'max_pin': 'x.x.x'}), ('htslib', {'max_pin': 'x.x'}), ('bamtools', {'max_pin': 'x.x.x'})])"
export zip_keys="['python']"
export CONDA_BUILD_STATE="BUILD"
source "/Users/distiller/project/miniconda/bin/activate" "/opt/anaconda1anaconda2anaconda3"
#!/bin/bash

# install in opt/
mkdir -p $PREFIX/opt/
cp -r $SRC_DIR $PREFIX/opt/$PKG_NAME

# symlink to binaries
mkdir -p $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/TransDecoder.Predict $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/TransDecoder.LongOrfs $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/util/*.pl $PREFIX/bin/
