#!/bin/bash SRCTYPE=hg SRCURL=http://hg.libsdl.org/SDL_net/ DEFAULT_BRANCH="SDL-1.2" ENV_LD_LIBRARY_PATH="lib" ENV_PKG_CONFIG_PATH="lib/pkgconfig" CONFIGURE_FLAGS="--disable-gui" function package_build { run_switch_branch run_src_script ./autogen.sh run_configure run_make run_make_install }