# bluetruth/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 YYMMDD=241114 DIR=bluetruth-$YYMMDD HERE=`pwd` rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go GOPROG=$HOME/bluetuith/bluetuith git clone https://github.com/darkhz/bluetuith.git cd bluetuith go clean go build go clean cd $HOME rm -fr $GOPROG rm -fr .cache cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none exepack = yes strip = yes #--------------------------------------------------------------------- [depends] # bluez # go none #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR LOCALNAME=bluetuith export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME go build mv bluetuith $BINDIR/bluetruth cd $BINDIR ln -nsf bluetruth bluetuith #--------------------------------------------------------------------- # 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] 241114 Added package 241114 Started with 241114