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

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_mixer/
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-music-mp3 \
    --disable-music-mod-shared --disable-music-ogg-shared --disable-music-mp3-shared --disable-music-flac-shared --disable-music-fluidsynth-shared"

function package_build {
    run_switch_branch
    run_src_script ./autogen.sh
    run_configure

    run_make
    run_make_install
}