summaryrefslogtreecommitdiff
path: root/packages/libxml2.sh
blob: 4b20964074b1097c4193b7c6db03605e013b4790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

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

    run_autoreconf -i
    run_configure --with-python-install-dir="${bindir}/lib/python"

    run_make
    run_make_install
}