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

SRCURL=https://github.com/ferzkopp/SDL_gfx.git
DEFAULT_BRANCH="SDL-1.2"

ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"

BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"

function package_build {
    run_switch_branch
    run_src_script ./autogen.sh
    run_configure

    run_make
    run_make_install
}