if linux? task 'swftools' => [ :python, 'swftools_pyconfig.py' ] do sh <<-EOF set -e -x cd swftools eval `../python/bin/python ../swftools_pyconfig.py` ./configure make EOF end
-xzf #{tarball}" chdir SRCDIR do sh "./configure --prefix=/opt/node" sh "make" end end file INSTALLED => BUILT do rm_rf INSTALL_ROOT chdir(SRCDIR) { sh "make install DESTDIR=#{INSTALL_ROOT}" } end