## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen autoconf 2.59 "2.5*" @autogen shtool 2.0.1 "2.0.*" all %autoclean @autoclean autoconf @autoclean shtool %configure ./configure \ --prefix=/tmp/flow2rrd \ --with-perl=/usr/opkg/bin/perl \ --with-pod2man=/usr/opkg/bin/pod2man \ "$@" %version ./shtool version -l txt -n "OSSP flow2rrd" -e VERSION V=`./shtool version -l txt -d long VERSION` sed -e "s/Version .*(.*)/Version $V/g" README.n mv README.n README %dist echo "+++ generating" ./devtool autoclean ./devtool autogen echo "+++ configuring" ./configure echo "+++ building" make clean all echo "+++ cleaning" make distclean echo "+++ fixing" ./shtool fixperm -v . echo "+++ rolling" V=`./shtool version -l txt -d short VERSION` ./shtool tarball -o flow2rrd-${V}.tar.gz -d flow2rrd-${V} -u ossp -g flow2rrd \ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz' -c 'gzip --best' . ls -l flow2rrd-${V}.tar.gz echo "+++ testing" gunzip