diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-24 04:19:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-24 04:19:57 +0300 |
commit | e2642768bb6cc35118bd6c4b4d7dc6ebc010b608 (patch) | |
tree | 3452ea1313097cccba6e297ceef1becdd17af097 | |
parent | b1506f03b16574c755105d2e777d87040c8e9238 (diff) | |
download | spm-e2642768bb6cc35118bd6c4b4d7dc6ebc010b608.tar.gz spm-e2642768bb6cc35118bd6c4b4d7dc6ebc010b608.tar.bz2 spm-e2642768bb6cc35118bd6c4b4d7dc6ebc010b608.tar.xz spm-e2642768bb6cc35118bd6c4b4d7dc6ebc010b608.zip |
Add libxml2 package.
-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" +} |