|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../evms/evms.conf
|
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# 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 ---
|
|
|
|
|
|
|
|
# apply the patches defined in the evms.desc
|
|
|
|
var_append patchfiles ' ' "`match_source_file -p patch`"
|
|
|
|
|
|
|
|
# Install EVMS libs and plugins in /lib and the administration binaries
|
|
|
|
# into /sbin so that they are available if /usr is not mounted.
|
|
|
|
#
|
|
|
|
sbindir="/${sbindir##*/}"
|
|
|
|
libdir="/${libdir##*/}"
|
|
|
|
|
|
|
|
# ncurses based GUI
|
|
|
|
pkginstalled ncurses && pkginstalled glib12 ||
|
|
|
|
var_append confopt ' ' "--disable-text-mode"
|
|
|
|
|
|
|
|
# GTK+12 based GUI support
|
|
|
|
pkginstalled gtk+12 || var_append confopt ' ' "--disable-gui"
|