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

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_image/
DEFAULT_BRANCH="SDL-1.2"

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

BUILD_TYPE="configure"
SRC_INIT_COMMAND="./autogen.sh"
CONFIGURE_FLAGS="--disable-jpg-shared --disable-tif-shared --disable-png-shared --disable-webp-shared"

function package_build {
    run_switch_branch
    run_src_script ./autogen.sh
    run_configure

    run_make
    run_make_install
}