# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/kasc/clanlib/clanlib.conf # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. A copy of the GNU General Public # License can be found at Documentation/COPYING. # # Many people helped and are helping developing ROCK Linux. Please # have a look at https://www.rocklinux.org/ and the Documentation/TEAM # file for details. # # --- ROCK-COPYRIGHT-NOTE-END --- [ "$ROCKCFG_PKG_CLANLIB_X11" == "1" ] && \ var_append extraconfopt " " "--enable-x11" [ "$ROCKCFG_PKG_CLANLIB_DIRECTFB" == "1" ] && \ var_append extraconfopt " " "--enable-directfb" [ "$ROCKCFG_PKG_CLANLIB_JOY" == "1" ] && \ var_append extraconfopt " " "--enable-joystick" [ "$ROCKCFG_PKG_CLANLIB_OPENGL" == "1" ] && \ var_append extraconfopt " " "--enable-opengl" [ "$ROCKCFG_PKG_CLANLIB_VIDMODE" == "1" ] && \ var_append extraconfopt " " "--enable-vidmode" [ "$ROCKCFG_PKG_CLANLIB_CLANSOUND" == "1" ] && \ var_append extraconfopt " " "--enable-clansound" [ "$ROCKCFG_PKG_CLANLIB_NET" == "1" ] && \ var_append extraconfopt " " "--enable-network" [ "$ROCKCFG_PKG_CLANLIB_ASM" == "1" ] && \ var_append extraconfopt " " "--enable-asm386" [ "$ROCKCFG_PKG_CLANLIB_GUI" == "1" ] && \ var_append extraconfopt " " "--enable-gui" [ "$ROCKCFG_PKG_CLANLIB_LUA" == "1" ] && \ var_append extraconfopt " " "--enable-lua" [ "$ROCKCFG_PKG_CLANLIB_MIKMOD" == "1" ] && \ var_append extraconfopt " " "--enable-mikmod" [ "$ROCKCFG_PKG_CLANLIB_PNG" == "1" ] && \ var_append extraconfopt " " "--enable-png" [ "$ROCKCFG_PKG_CLANLIB_JPEG" == "1" ] && \ var_append extraconfopt " " "--enable-jpeg" [ "$ROCKCFG_PKG_CLANLIB_SMALLJPEG" == "1" ] && \ var_append extraconfopt " " "--enable-smalljpeg" [ "$ROCKCFG_PKG_CLANLIB_VORBIS" == "1" ] && \ var_append extraconfopt " " "--enable-vorbis" [ "$ROCKCFG_PKG_CLANLIB_TTF" == "1" ] && \ var_append extraconfopt " " "--enable-ttf" if [ "$xpkg" == "clanlib06" ]; then prefix=$root/opt/clanlib06 var_append makeopt " " "LIBDIR=$root/$libdir" set_confopt var_append patchfiles " " "$confdir/$xpkg/*.patch" fi if [ "$xpkg" == "clanlib07" ]; then prefix=$root/opt/clanlib07 set_confopt fi