PKGNAME=asymptote
PKGSEC=tex
PKGDEP="boost curl fftw freeglut gcc-runtime ghostscript glibc gsl libsigsegv \
        libtirpc ncurses pycson pyqt5 texlive readline zlib"
BUILDDEP="eigen imagemagick glm"
PKGDES="Descriptive vector graphics language for technical drawing"

ABTYPE=autotools
AUTOTOOLS_AFTER=(
    '--enable-offscreen'
    '--enable-gc=/usr'
    '--with-docdir=/usr/tmp_doc' # No option to disable document generation, drop it later.
    '--with-latex=/usr/share/texmf/tex/latex'
    '--with-context=/usr/share/texmf/tex/context'
)

# FIXME: pdflatex fails to build documentation, likely due to race condition.
NOPARALLEL=1

# FIXME: make: *** No rule to make target 'Makefile.in', needed by 'Makefile'.  Stop.
ABSHADOW=0
