summaryrefslogtreecommitdiff
path: root/packages/libxml2.sh
blob: 37ac41b8fb3939e87765c5c9e07a1bc9c66f1510 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
}