- # Fetch branch
- start_step ("Fetch $repo, branch $branch");
- run ("git fetch $repo +$branch:buildtmp/$$/pspp");
+ my $ssw_tar = "$topdir/$ssw.tar.gz";
+ start_step ("Extract spread-sheet-widget");
+ run ("tar xzf $ssw_tar");
+
+ start_step ("Configure spread-sheet-widget");
+ run ("cd $ssw && ./configure --prefix=''");
+
+ start_step ("Build spread-sheet-widget");
+ run ("cd $ssw && make -j10");
+
+ start_step ("Install spread-sheet-widget");
+ run ("cd $ssw && make -j10 install DESTDIR=\$PWD/inst");
+
+ start_step ("Fetch branch from Git");
+ set_var ("git_repo", $repo);
+ set_var ("git_branch", $branch);
+ run ("$GIT fetch $repo +$branch:refs/builds/$build_number/pspp");