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

SRCTYPE=hg
SRCURL=http://hg.libsdl.org/SDL_net/

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

function package_build {
    run_switch_branch SDL-1.2
    run_src_script ./autogen.sh
    run_configure --disable-gui

    run_make
    run_make_install
}