## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen shtool 2.0.6 "2.0.*" all @autogen autoconf 2.60 "2.6*" %autoclean @autoclean shtool @autoclean autoconf %configure ./configure \ --prefix=/tmp/shiela \ --with-perl=/usr/opkg/bin/perl \ --with-cvs=/usr/opkg/bin/cvs \ "$@" %release ./devtool bump ./devtool tag ./devtool dist ./devtool upload %version ./shtool version -ltxt -n "OSSP shiela" -e VERSION V=`./shtool version -ltxt -d short VERSION` sed -e "s/version = '.*'/version = '$V'/" shiela.pl.n && mv shiela.pl.n shiela.pl sed -e "s/version=\".*\"/version=\"$V\"/" shiela-install.sh.n && mv shiela-install.sh.n shiela-install.sh V=`./shtool version -l txt -d long VERSION` sed -e "s/Version .*(.*)/Version $V/g" README.n && mv README.n README sed -e "s/^B [0-9].*/B $V/" shiela.pod.n && mv shiela.pod.n shiela.pod sed -e "s/^B [0-9].*/B $V/" shiela-install.pod.n && mv shiela-install.pod.n shiela-install.pod %bump ./devtool version V=`./shtool version -ltxt -d short VERSION` cvs ci -m "bump to version $V for release" %tag V=`./shtool version -ltxt -dshort VERSION | sed -e 's;\.;_;g'` echo "+++ tagging CVS sources as SHIELA_${V}" cvs tag -F SHIELA_${V} %dist echo "+++ removing old tarballs" rm -f shiela-*.tar.gz 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 -ltxt -dshort VERSION` ./shtool tarball -o shiela-${V}.tar.gz -d shiela-${V} -u ossp -g ossp \ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' . ls -l shiela-${V}.tar.gz echo "+++ testing" gunzip