3 # Create a tarball of rbutil from a tagged release
4 # Doess a full checkout, then shaves off everything unneeded.
7 printf "Usage: `basename $0` 1.2.2"
13 svn checkout svn
://svn.rockbox.org
/rockbox
/tags
/rbutil_
$version rbutil-
$version
15 echo "Something went wrong with checking out"
20 # Delete top-level dirs that aren't used
21 rm -rf bootloader firmware fonts icons uisimulator wps backdrops docs flash gdb manual utils
23 # Clean out tools and restore the bits that we need
25 svn update tools
/{iriver.c
,Makefile
,mkboot.h
,voicefont.c
,VOICE_PAUSE.wav
,wavtrim.h
,iriver.h
,mkboot.c
,rbspeex
,voicefont.h
,wavtrim.c
}
27 mkdir
-p tools
/rbspeex
/build
29 # Clean out apps and restore apps/codecs/libspeex
31 svn update apps
/codecs
33 svn update apps
/codecs
/libspeex
36 tar cvvj
--exclude-vcs -f rbutil-
$version.
tar.bz2 rbutil-
$version
37 rm -rf rbutil-
$version