# jsonfx/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 DATE6D=240707 COMMIT= GOPROG=fx LOCALNAME=jsonfx HERE=`pwd` DIR=$LOCALNAME-$DATE6D GITURL=https://github.com/antonmedv/fx.git 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 git checkout $COMMIT fi go build ls -l $GOPROG rm -fr $GOPROG $HOME/.cache cd $HERE settreedate $DIR tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR tardate $DIR.tar.bz2 ls -l $DIR.tar.bz2 echo Done #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes strip = yes #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR GOPROG=fx LOCALNAME=jsonfx export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME go build strip $GOPROG mv $GOPROG $BINDIR/$LOCALNAME cd $BINDIR ln -nsf $LOCALNAME fx #--------------------------------------------------------------------- # 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] 240707 Added package 240707 Started with 240707 - same as 35.0.0