summaryrefslogtreecommitdiff
path: root/packages/libxml2.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 20:41:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 20:41:28 +0300
commit54a27ef444fe68a47069bd9f51cf8cfb00c0182c (patch)
tree7bc9bffe57bc1053eb76b1774827d5491a36cca5 /packages/libxml2.sh
parentdd3b8dd21957d4a5d9f2c68a547e984bdf465b63 (diff)
downloadspm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.gz
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.bz2
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.tar.xz
spm-54a27ef444fe68a47069bd9f51cf8cfb00c0182c.zip
In packages move configure and cmake flags into variable CONFIGURE_FLAGS.
Diffstat (limited to 'packages/libxml2.sh')
-rwxr-xr-xpackages/libxml2.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/libxml2.sh b/packages/libxml2.sh
index 4b20964..c3df21e 100755
--- a/packages/libxml2.sh
+++ b/packages/libxml2.sh
@@ -7,11 +7,13 @@ ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"
ENV_MANPATH="share/man"
+CONFIGURE_FLAGS="--with-python-install-dir="${bindir}/lib/python""
+
function package_build {
run_switch_branch
run_autoreconf -i
- run_configure --with-python-install-dir="${bindir}/lib/python"
+ run_configure
run_make
run_make_install