## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen shtool 2.0.6 "2.0.*" all @autogen libtool 1.5.22 "1.5*" @autogen autoconf 2.61 "2.6[0-9]*" %autoclean @autoclean shtool @autoclean libtool @autoclean autoconf %configure ./configure \ --prefix=/tmp/js \ --with-editline=/usr/opkg/lib \ --with-perl=/usr/opkg/bin/perl \ --with-file \ --with-dso \ --disable-shared \ "$@" %version ./shtool version -l txt -n "OSSP js" -e VERSION V=`./shtool version -l txt -d long VERSION` sed -e "s/Version .*/Version $V/g" README.n mv README.n README V=`./shtool version -l txt -d short VERSION` sed -e "s/OSSP js 1.6........./OSSP js $V/g" src/jsapi.c.n mv src/jsapi.c.n src/jsapi.c %dist echo "+++ dist cleaning" make distclean echo "+++ removing old tarballs" rm -f js-*.tar.gz echo "+++ generating" ./devtool autoclean ./devtool autogen echo "+++ configuring" ./configure echo "+++ real cleaning" make realclean echo "+++ re-generating" ./devtool autoclean ./devtool autogen echo "+++ re-configuring" ./configure echo "+++ building" make echo "+++ dist cleaning" make distclean echo "+++ fixing" ./shtool fixperm -v . echo "+++ rolling" V=`./shtool version -l txt -d short VERSION` ./shtool tarball -o js-${V}.tar.gz -d js-${V} -u ossp -g js \ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' . ls -l js-${V}.tar.gz echo "+++ testing" gunzip