#!/bin/bash SRCURL=git://git.code.sf.net/p/libpng/code ENV_PATH="bin:lib:include" ENV_LD_LIBRARY_PATH="lib" ENV_PKG_CONFIG_PATH="lib/pkgconfig" ENV_MANPATH="share/man" BUILD_TYPE="automake" function package_build { run_switch_branch run_autoreconf -i run_configure run_make run_make_install }