summaryrefslogtreecommitdiff
path: root/packages/libxml2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libxml2.sh')
-rwxr-xr-xpackages/libxml2.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/libxml2.sh b/packages/libxml2.sh
index 7393475..84cb391 100755
--- a/packages/libxml2.sh
+++ b/packages/libxml2.sh
@@ -2,6 +2,11 @@
SRCURL=git://git.gnome.org/libxml2
+ENV_PATH="bin:lib:include"
+ENV_LD_LIBRARY_PATH="lib"
+ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+ENV_MANPATH="share/man"
+
function package_build {
run_switch_branch master
@@ -11,12 +16,3 @@ function package_build {
run_make
run_make_install
}
-
-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"
-}