/[gentoo-x86]/eclass/leechcraft.eclass
Gentoo

Diff of /eclass/leechcraft.eclass

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

Revision 1.7 Revision 1.8
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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/leechcraft.eclass,v 1.7 2012/10/14 12:19:32 pinkbyte Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.8 2013/03/09 19:52:38 maksbotan Exp $
4# 4#
5# @ECLASS: leechcraft.eclass 5# @ECLASS: leechcraft.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# leechcraft@gentoo.org 7# leechcraft@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
54# @DESCRIPTION: 54# @DESCRIPTION:
55# Set this to the category of the plugin, if any. 55# Set this to the category of the plugin, if any.
56: ${LEECHCRAFT_PLUGIN_CATEGORY:=} 56: ${LEECHCRAFT_PLUGIN_CATEGORY:=}
57 57
58if [[ "${LEECHCRAFT_PLUGIN_CATEGORY}" ]]; then 58if [[ "${LEECHCRAFT_PLUGIN_CATEGORY}" ]]; then
59 CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#leechcraft-} 59 CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#lc-}
60elif [[ ${PN} != leechcraft-core ]]; then 60elif [[ ${PN} != lc-core ]]; then
61 CMAKE_USE_DIR="${S}"/src/plugins/${PN#leechcraft-} 61 CMAKE_USE_DIR="${S}"/src/plugins/${PN#lc-}
62else 62else
63 CMAKE_USE_DIR="${S}"/src 63 CMAKE_USE_DIR="${S}"/src
64fi 64fi
65 65
66EXPORT_FUNCTIONS "pkg_pretend" 66EXPORT_FUNCTIONS "pkg_pretend"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20