# picocrypt/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 LOCALNAME=picocrypt DATE6D=241023 GITURL=https://github.com/Picocrypt/CLI.git COMMIT=2.08 HERE=`pwd` DIR=$LOCALNAME-$DATE6D rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go git clone $GITURL $LOCALNAME cd $LOCALNAME if [ "@$COMMIT" == "@" ]; then echo Using latest git commit else echo Using git commit $COMMIT git checkout $COMMIT fi cd picocrypt go build rm -fr picocrypt rm -fr $HOME/.cache cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes strip = yes tmpsize = 84M #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR LOCALNAME=picocrypt export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME/picocrypt go build mv picocrypt $BINDIR/$LOCALNAME #--------------------------------------------------------------------- # 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] 240817 Added package 240817 Started with 240817 - same as 2.05 241023 Updated to 241023 - same as 2.08