# haskell-packages/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. If everything is working correctly, it should be possible to build this package offline. In other words, the build procedure shouldn't try to download any files. In fact, it's probably best that DNS be turned off while this package is being built. This will prevent most attempts by the "build" proce- dure to go online. To turn DNS off: sudo killany dnsmasq To turn DNS back on: sudo service dnsmasq restart #--------------------------------------------------------------------- [buildtimes] 01.45 hours (or 086.90 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 02.15 hours (or 128.82 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] configure = none defer = glibc64 license = tbd nosyslinks = yes proddir = none purge = no shareddir = yes strip = no tmpsize = 1M unpack = none setpaths = \ fontconfig freetype2 gcc ghc0865 lapack \ libffi libgmp libicu libpng ncurses \ numactl pulseaudio xorg zlib #--------------------------------------------------------------------- [depends] cabal:strict cabal2400:strict fontconfig freetype2 ghc0865:strict gtkcore lapack libffi libgmp libicu libpng ncurses numactl pulseaudio xorg zlib #--------------------------------------------------------------------- [build] export LD=ld cabal --version PP=$PRODTREE/ghc0865 BINDIR=$PP/bin LOCDIR=$PP/local LOCBIN=$LOCDIR/bin MODHOME=$PP/home mkdir -p $BINDIR $LOCBIN $MODHOME #--------------------------------------------------------------------- export HOME=$MODHOME mkdir -p $MODHOME cd $MODHOME tar zxf $PKGDIR_SPECIAL/src-haskell-packages.tgz #--------------------------------------------------------------------- for pkg in \ pandoc-cli \ BigPixel FractalArt Raincat \ ascii-holidays asciidiagram cutter \ darcs dice friendly \ gearbox gitit hackertyper \ hscurses-fish-ex life mancala \ morph nyan only \ rss2irc simplex snowglobe \ time-compat tomlcheck turing-music \ uniq-deep warc wedged do echo ==== `date` Building $pkg rm -fr /usr/local/bin/$pkg* rm -fr $BINDIR/$pkg* rm -fr $LOCBIN/$pkg* rm -fr $MODHOME/.cabal/bin/$pkg* cabal install --installdir=$BINDIR --overwrite-policy=always $pkg done #--------------------------------------------------------------------- cd $BINDIR #--------------------------------------------------------------------- for x in `find . -type f -mtime 0` do strip $x 2> /dev/null || true #ifdef NOTDEF # Use a compressed filesystem instead # upx --lzma $x 2> /dev/null || true #endif done #--------------------------------------------------------------------- rm -fr hascii-diagram mv asciidiagram hascii-diagram rm -fr hbigpixel mv BigPixel hbigpixel rm -fr hcutter mv cutter hcutter rm -fr hdice mv dice hdice rm -fr hfractal-art mv FractalArt hfractal-art rm -fr hgearbox mv gearbox hgearbox rm -fr hlife mv life hlife rm -fr hmorph mv morph hmorph rm -fr hsnowglobe mv snowglobe hsnowglobe rm -fr hxmastree mv ascii-holidays hxmastree #--------------------------------------------------------------------- # 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 = n/a #--------------------------------------------------------------------- [history] 210617 Added package 211028 Updated sources 220115 Ditto 220115 "pandoc" is now at 2.17.0.1 220824 Updated sources 220824 "pandoc" is now at 2.19.2 240407 "pandoc" is now at 3.1.2