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

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_ttf/
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
}