# Set the variable OPENGL to "NO" if you don't have a card that# supports hardware accelerated OpenGL:OPENGL=${OPENGL:-"YES"} # Use 'YES' not 'yes' : case-sensitive!

# If you set REQUIRE_FONTFORGE to "NO" then the script won't refuse to build# wine in case you don't have fontforge installed (it is needed to# generate the required base fonts).REQUIRE_FONTFORGE=${REQUIRE_FONTFORGE:-"YES"}

# Where do we look for sources?SRCDIR=$(cd $(dirname $0); pwd)

# Place to build (TMP) package (PKG) and output (OUTPUT) the program:TMP=${TMP:-/tmp/txz}PKG=$TMP/package-$PRGNAMOUTPUT=${OUTPUT:-/tmp}

# Prepare a sane build environment:mkdir -p $TMP/tmp-$PRGNAM # location to build the sourcerm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build and continuemkdir -p $PKG # place for the package to be builtrm -rf $PKG/* # We always erase old package's contentsmkdir -p $OUTPUT # place for the package to be saved