50 lines
2.1 KiB
50 lines
2.1 KiB
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../clanlib/clanlib.conf |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# 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; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
[ "$SDECFG_PKG_CLANLIB_X11" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-x11" |
|
[ "$SDECFG_PKG_CLANLIB_DIRECTFB" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-directfb" |
|
[ "$SDECFG_PKG_CLANLIB_JOY" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-joystick" |
|
[ "$SDECFG_PKG_CLANLIB_OPENGL" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-opengl" |
|
[ "$SDECFG_PKG_CLANLIB_VIDMODE" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-vidmode" |
|
[ "$SDECFG_PKG_CLANLIB_CLANSOUND" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-clansound" |
|
[ "$SDECFG_PKG_CLANLIB_NET" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-network" |
|
[ "$SDECFG_PKG_CLANLIB_ASM" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-asm386" |
|
[ "$SDECFG_PKG_CLANLIB_GUI" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-gui" |
|
[ "$SDECFG_PKG_CLANLIB_LUA" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-lua" |
|
[ "$SDECFG_PKG_CLANLIB_MIKMOD" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-mikmod" |
|
[ "$SDECFG_PKG_CLANLIB_PNG" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-png" |
|
[ "$SDECFG_PKG_CLANLIB_JPEG" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-jpeg" |
|
[ "$SDECFG_PKG_CLANLIB_SMALLJPEG" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-smalljpeg" |
|
[ "$SDECFG_PKG_CLANLIB_VORBIS" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-vorbis" |
|
[ "$SDECFG_PKG_CLANLIB_TTF" == "1" ] && \ |
|
var_append extraconfopt " " "--enable-ttf" |
|
|
|
libdir=$libdir/$pkg
|
|
|