/[gentoo-x86]/eclass/gkrellm-plugin.eclass
Gentoo

Diff of /eclass/gkrellm-plugin.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gkrellm-plugin.eclass,v 1.2 2007/03/12 17:39:01 lack Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gkrellm-plugin.eclass,v 1.3 2007/04/23 19:35:05 swegener Exp $
4 4
5# 5#
6# Original Author: Jim Ramsay <lack@gentoo.org> 6# Original Author: Jim Ramsay <lack@gentoo.org>
7# 7#
8# Purpose: 8# Purpose:
50gkrellm-plugin_server_dir() { 50gkrellm-plugin_server_dir() {
51 echo /usr/$(get_libdir)/gkrellm2/plugins-gkrellmd 51 echo /usr/$(get_libdir)/gkrellm2/plugins-gkrellmd
52} 52}
53 53
54gkrellm-plugin_pkg_setup() { 54gkrellm-plugin_pkg_setup() {
55 if [[ -z "${PLUGIN_SERVER_SO}" ]] && 55 if [[ -z "${PLUGIN_SERVER_SO}" ]] &&
56 ! built_with_use app-admin/gkrellm X; then 56 ! built_with_use app-admin/gkrellm X; then
57 eerror "This plugin requires the X frontend of gkrellm." 57 eerror "This plugin requires the X frontend of gkrellm."
58 eerror "Please re-emerge app-admin/gkrellm with USE=\"X\"" 58 eerror "Please re-emerge app-admin/gkrellm with USE=\"X\""
59 die "Please re-emerge app-admin/gkrellm with USE=\"X\"" 59 die "Please re-emerge app-admin/gkrellm with USE=\"X\""
60 fi 60 fi

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20