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

SRCURL=https://github.com/madler/zlib.git
DEFAULT_BRANCH="v1.2.11"

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_configure

    run_make
    run_make_install
}