# asymptote/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package has been renamed. #--------------------------------------------------------------------- 2. This distro disables "asymptote's" "XDR" and "Language Server Pro- tocol" features because it's problematic to build the package with the features in question enabled. #--------------------------------------------------------------------- [buildtimes] 00.07 hours (or 004.15 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.09 hours (or 005.62 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes configure = no exepack = no # Handled explicitly fortran = disabled license = tbd nosyslinks = yes proddir = none purge = no shareddir = yes smptries = 8 strip = no # Handled explicitly tmpsize = 176M setpaths = boehmgc freeglut libgmp libgsl mpfr texlive libtirpc #--------------------------------------------------------------------- [depends] boehmgc freeglut libgmp libgsl libtirpc mpfr texlive-base:strict xorg #--------------------------------------------------------------------- [build] # "freeglut" headers need to be found # before "xorg" headers PT=$PRODTREE export LACINCDIRS=$PT/freeglut/include:$PT/xorg/include:$LACINCDIRS #--------------------------------------------------------------------- echo ======================= `date` Initial setup start PKGDIR_PROD=$PRODTREE/texlive BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib MANDIR=$PKGDIR_PROD/man INFODIR=$DOCDIR/info LOCDIR=$PKGDIR_PROD/texmf-local DISTDIR=$PKGDIR_PROD/texmf-dist VARDIR=/var/texlive mkdir -p $BINDIR $DOCDIR $INCDIR $INFODIR $LIBDIR $MANDIR mkdir -p $VARDIR $LOCDIR chmod 777 $VARDIR chown -R 0.0 . chmod -R a-s . GVP=glm::value_ptr sed -e "s/value_ptr/$GVP/g" \ -e "s/glm::$GVP/$GVP/g" \ -i glrender.cc find . \ \( -perm 777 -o -perm 775 -o -perm 711 \ -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; #--------------------------------------------------------------------- echo ======================= `date` Initial setup end echo ======================= `date` configure start sed -e 's/xstream\.h/hownowmoocow.h/' -i configure ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --bindir=$BINDIR \ --datarootdir=$PKGDIR_PROD \ --enable-gc=system \ --enable-lsp=no \ --includedir=$INCDIR \ --infodir=$INFODIR \ --libdir=$LIBDIR \ --mandir=$MANDIR \ --with-context=$DISTDIR/tex/context/third \ --with-latex=$DISTDIR/tex/latex #--------------------------------------------------------------------- echo ======================= `date` configure end echo ======================= `date` smpmake start timeout --signal=3 --kill-after=30 1500 smpmake #--------------------------------------------------------------------- echo ======================= `date` smpmake end echo ======================= `date` make check start make check > check.log N=`grep FAIL check.log | grep -v ': *0$' | wc -l` if [ "x$N" = "x0" ]; then echo make check passes else echo make check fails exit 1 fi #--------------------------------------------------------------------- echo ======================= `date` make check end echo ======================= `date` Install start make install rm -fv $DISTDIR/doc/info/asymptote.info #--------------------------------------------------------------------- echo ======================= `date` Install end #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = https://downloads.sourceforge.net/\ asymptote/asymptote-2.85.src.tgz #--------------------------------------------------------------------- [history] 170820 Added package. Started with 2.41. 180407 Updated to 2.43 180408 Updated to 2.44 180730 Updated to 2.46 180802 Updated to 2.47 181110 Patched to make compatible with new "boehmgc" 190509 Updated to 2.49 191004 Updated to 2.56 210208 Updated to 2.68 211025 Updated to 2.70 211228 Updated to 2.73 220108 Updated to 2.75 220122 Updated to 2.77 230322 Updated to 2.85