# miller/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created as follows. Internet access and external websites were required. This procedure may or may not work in the future. #!/bin/bash -e set -e HERE=`pwd` LOCALNAME=miller DATE6D=241012 DIR=$LOCALNAME-$DATE6D GITURL=https://github.com/johnkerl/miller.git rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go git clone $GITURL $LOCALNAME cd $LOCALNAME git checkout v6.13.0 make rm mlr rm -fr $HOME/.cache rm -fr $HOME/miller/.git* cd $HOME rm -fr `find . -name vcs` cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- 2. Example of a "mlr" (or "miller") operation. This should work on most Linux boxes that have "mlr": grep -v '^#' /etc/group | mlr --ifs : --nidx \ --opprint label group,pass,gid,member \ then sort -f group #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.32 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.01 hours (or 000.42 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes strip = yes tmpsize = 251M #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR LOCALNAME=miller export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME make mv mlr $BINDIR/ cd $BINDIR ln -nsf mlr miller #--------------------------------------------------------------------- # 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 = special # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 220308 Added package 220308 Started with 220308 - same as 6.1.0 230304 Updated to 230304 - same as 6.7.0 240123 Updated to 240123 - same as 6.11.0 240702 Updated to 240702 - same as 13f4f7eb4a ("git" hash) 241012 Updated to 241012 - same as 6.13.0