diff options
author | Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru> | 2018-06-14 13:29:25 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru> | 2018-06-14 13:29:25 +0300 |
commit | 092d7b82d25245085b1f25814e26c44860c97f3e (patch) | |
tree | dad6797e2fd4e0b7800072916a85d2d5fbab66a1 /eclass/gosa-plugin.eclass | |
parent | sci-chemistry: Fix ebuilds (diff) | |
download | alexxy-092d7b82d25245085b1f25814e26c44860c97f3e.tar.gz alexxy-092d7b82d25245085b1f25814e26c44860c97f3e.tar.bz2 alexxy-092d7b82d25245085b1f25814e26c44860c97f3e.zip |
all: Drop old ebuilds
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'eclass/gosa-plugin.eclass')
-rw-r--r-- | eclass/gosa-plugin.eclass | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/eclass/gosa-plugin.eclass b/eclass/gosa-plugin.eclass deleted file mode 100644 index cf44901..0000000 --- a/eclass/gosa-plugin.eclass +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# @ECLASS: gosa-plugin.eclass -# @AUTHOR: -# Original Author: Alexey Shvetsov <alexxy@gentoo.org> -# @BLURB: Simplify working with gosa plugins - -inherit base eutils - -EXPORT_FUNCTIONS src_install pkg_postinst - -HOMEPAGE="https://oss.gonicus.de/labs/gosa/wiki/WikiStart" -SRC_URI="http://oss.gonicus.de/pub/gosa/${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" - -DEPEND="" -RDEPEND=" - ~net-nds/gosa-core-${PV} - " - -if [[ ${PN} != gosa-plugin-systems ]] ; then - RDEPEND="${RDEPEND} - ~net-nds/gosa-plugin-systems-${PV} - " -fi - -# @ECLASS-VARIABLE: GOSA_COMPONENT -# @DESCRIPTION: -# Defines GOSA component name - -GOSA_COMPONENT="${PN/gosa-plugin-}" - -S="${WORKDIR}/${GOSA_COMPONENT}" - -# @FUNCTION: gosa-plugin_src_install -# @DESCRIPTION: -# Default src_install function for gosa-plugins -gosa-plugin_src_install() { - - if [ -d etc ]; then - insinto /etc/gosa - doins -r etc/* - fi - - if [ -d html ]; then - insinto /usr/share/gosa/html/plugins/${GOSA_COMPONENT}/ - doins -r html/* - fi - - insinto /usr/share/gosa/locale/plugins/${GOSA_COMPONENT}/ - doins -r locale/* - - insinto /usr/share/gosa/plugins - if [ -d admin ]; then - doins -r admin - fi - if [ -d personal ]; then - doins -r personal - fi - if [ -d addons ]; then - doins -r addons - fi - - if [ -d help ]; then - insinto /usr/share/gosa/doc/plugins/${GOSA_COMPONENT}/ - doins -r help/* - fi - - if [ -d contrib ]; then - insinto /usr/share/doc/${PF} - doins -r contrib/* - fi -} - -# @FUNCTION: gosa-plugin_pkg_postinst() -# @DESCRIPTION: -# Default pkg_postinst function for gosa-plugins -gosa-plugin_pkg_postinst() { - ebegin "Updating class cache and locales" - "${EROOT}"usr/sbin/update-gosa - eend $? -} |