ff9254e
#!/bin/bash
ff9254e
ff9254e
VERSION=3506c375241e
ff9254e
ICEDTEA_URL=http://icedtea.classpath.org/hg/icedtea7/
ff9254e
ff9254e
wget -O icedtea7.tar.gz ${ICEDTEA_URL}/archive/${VERSION}.tar.gz
ff9254e
tar xzf icedtea7.tar.gz
ff9254e
rm -f icedtea7.tar.gz
ff9254e
pushd icedtea7-${VERSION}
ff9254e
ff9254e
# desktop files
0ccb6d0
mv jconsole.desktop ../jconsole.desktop.in
0ccb6d0
mv policytool.desktop ../policytool.desktop.in
ff9254e
ff9254e
# tapsets
ff9254e
mv tapset/hotspot{,-1.8.0}.stp.in || exit 1
ff9254e
mv tapset/hotspot_gc{,-1.8.0}.stp.in || exit 1
ff9254e
mv tapset/hotspot_jni{,-1.8.0}.stp.in || exit 1
ff9254e
mv tapset/jstack{,-1.8.0}.stp.in || exit 1
ff9254e
tar cvzf systemtap-tapset.tar.gz tapset
ff9254e
mv systemtap-tapset.tar.gz ../
ff9254e
ff9254e
popd
ff9254e
rm -rf icedtea7-${VERSION}