Fri, 28 Nov 2008 11:21:08 +0100
Fork project trunk at version 0.7.7 to maintain for future usage.
The original Cable & Wireless development team no longer exists.
The OSSP CVS repository is unavailable (cvs co ossp-pkg/as fails),
however http://cvs.ossp.org/dirview?d=ossp-pkg/as/as-gui is working.
michael@1 | 1 | ## |
michael@1 | 2 | ## devtool.conf -- Development Tool Configuration |
michael@1 | 3 | ## |
michael@1 | 4 | |
michael@1 | 5 | %autogen |
michael@1 | 6 | @autogen shtool 2.0.0 "2.0.*" echo fixperm install mkdir tarball version |
michael@1 | 7 | @autogen autoconf 2.59 "2.5[3-9]*" |
michael@1 | 8 | |
michael@1 | 9 | %autoclean |
michael@1 | 10 | @autoclean shtool |
michael@1 | 11 | @autoclean autoconf |
michael@1 | 12 | |
michael@1 | 13 | %configure |
michael@1 | 14 | ./configure \ |
michael@1 | 15 | --prefix=/tmp/as_gui/ \ |
michael@1 | 16 | --datadir=/tmp/as_gui/share/ \ |
michael@1 | 17 | --with-mico \ |
michael@1 | 18 | --with-esoap \ |
michael@1 | 19 | "$@" |
michael@1 | 20 | |
michael@1 | 21 | %release |
michael@1 | 22 | ./devtool dist |
michael@1 | 23 | ./devtool upload |
michael@1 | 24 | |
michael@1 | 25 | %version |
michael@1 | 26 | ./shtool version -l c -n "OSSP as-gui" -p "asgui_" -e as_version.cpp |
michael@1 | 27 | V=`./shtool version -l c -d long as_version.cpp` |
michael@1 | 28 | sed -e "s/Version .*(.*)/Version $V/g" <README >README.n |
michael@1 | 29 | mv README.n README |
michael@1 | 30 | |
michael@1 | 31 | %tag |
michael@1 | 32 | V=`./shtool version -l c -d short as_version.cpp | sed -e 's;\.;_;g'` |
michael@1 | 33 | echo "+++ tagging CVS sources as ASGUI_${V}" |
michael@1 | 34 | cvs tag ASGUI_${V} |
michael@1 | 35 | |
michael@1 | 36 | %dist |
michael@1 | 37 | echo "+++ cleaning" |
michael@1 | 38 | rm -f as-gui-*.tar.gz |
michael@1 | 39 | ./devtool autoclean |
michael@1 | 40 | echo "+++ generating" |
michael@1 | 41 | ./devtool autogen |
michael@1 | 42 | echo "+++ configuring" |
michael@1 | 43 | ./devtool configure |
michael@1 | 44 | echo "+++ building" |
michael@1 | 45 | make clean all -j4 |
michael@1 | 46 | echo "+++ cleaning" |
michael@1 | 47 | make distclean >/dev/null 2>&1 |
michael@1 | 48 | echo "+++ fixing" |
michael@1 | 49 | ./shtool fixperm -v . |
michael@1 | 50 | echo "+++ rolling" |
michael@1 | 51 | V=`./shtool version -l c -d short as_version.cpp` |
michael@1 | 52 | ./shtool tarball -o as-gui-${V}.tar.gz -d as-gui-${V} \ |
michael@1 | 53 | -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak' \ |
michael@1 | 54 | -e 'autom4te\.cache,as_stub.cpp,as_stub.h,as_scrap,as_gfx/*.png' \ |
michael@1 | 55 | -c 'gzip --best' . |
michael@1 | 56 | ls -l as-gui-${V}.tar.gz |
michael@1 | 57 | echo "+++ testing" |
michael@1 | 58 | gunzip <as-gui-${V}.tar.gz | tar tvf - | head -10 |
michael@1 | 59 | echo "[...]" |
michael@1 | 60 | gunzip <as-gui-${V}.tar.gz | tar tvf - | tail -10 |
michael@1 | 61 | |
michael@1 | 62 | %upload |
michael@1 | 63 | echo "+++ copying to http://as.is.eu.cw.com/source/" |
michael@1 | 64 | V=`./shtool version -l c -d short as_version.cpp` |
michael@1 | 65 | scp as-gui-${V}.tar.gz root@as.de.cw.net:/v/as/web/source/ |