diff options
-rwxr-xr-x | packages/libxml2.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/libxml2.sh b/packages/libxml2.sh new file mode 100755 index 0000000..37ac41b --- /dev/null +++ b/packages/libxml2.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +function package_build { + run_git_switch_branch master + + run_autoreconf -i + run_configure --with-python-install-dir=${bindir}/lib/python + + run_make + run_make_install +} + +function package_get_source { + run_git_clone git://git.gnome.org/libxml2 +} + +function package_use { + env_path "bin" + env_path "lib" + env_path "include" + env_man "share/man" + env_lib_library_path "lib" + env_pkg_config_path "lib/pkgconfig" +} |