Skip to content

Instantly share code, notes, and snippets.

@chrislawlor
Created May 30, 2012 13:02
Show Gist options
  • Save chrislawlor/2836174 to your computer and use it in GitHub Desktop.
Save chrislawlor/2836174 to your computer and use it in GitHub Desktop.
Fabric task to install libxml and libxslt from source.
def install_libxml(tag='v2.8.0'):
run('git clone git://git.gnome.org/libxml2')
with('cd libxml'):
run('git reset %s' % tag)
run('./autogen.sh')
run('make')
sudo('make install')
run('rm -rf libxml')
def install_libxslt(tag='v1.1.26'):
run('git clone git://git.gnome.org/libxslt')
with('cd libxslt'):
run('git reset %s' % tag)
run('./autogen.sh')
run('make')
sudo('make install')
run('rm -rf libxslt')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment