# piknik/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=240704 GITTAG= DIR=piknik-$YYMMDD HERE=`pwd` rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go GOPROG=$HOME/piknik/piknik git clone https://github.com/jedisct1/piknik.git cd piknik if [ "@$GITTAG" \!= "@" ]; then git checkout $GITTAG fi go build ls -l $GOPROG cd $HOME rm -fr $GOPROG rm -fr .cache rm -fr `find . -type d -name testdata` cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none exepack = yes license = See "license*.txt" in installed tree licfile = piknik/LICENSE tmpsize = 85M #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir -p $BINDIR export HOME=`pwd` export GOPATH=$HOME/go GOPROG=piknik cd piknik go build mv $GOPROG $BINDIR/ cd $BINDIR mv piknik piknik.bin cp -p $PKGDIR_SPECIAL/piknik.wrapper.in piknik chmod 755 piknik #--------------------------------------------------------------------- # 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 = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 240704 Added package 240704 Started with 240704 - same as b5871a8628 ("git" hash)