From ee62f8dd57632de462faf434a4f12ec359290980 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 10 Jan 2014 14:38:18 +0100 Subject: net-im/spectrum: remove ebuild use this instead: http://spectrum.im/documentation/installation/gentoo.html --- net-im/spectrum/spectrum-1.4.8-r1.ebuild | 131 ------------------------------- 1 file changed, 131 deletions(-) delete mode 100644 net-im/spectrum/spectrum-1.4.8-r1.ebuild (limited to 'net-im/spectrum/spectrum-1.4.8-r1.ebuild') diff --git a/net-im/spectrum/spectrum-1.4.8-r1.ebuild b/net-im/spectrum/spectrum-1.4.8-r1.ebuild deleted file mode 100644 index 2e32141..0000000 --- a/net-im/spectrum/spectrum-1.4.8-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit cmake-utils - -DESCRIPTION="Spectrum is an XMPP transport/gateway" -HOMEPAGE="http://spectrum.im" - -SRC_URI="http://spectrum.im/attachments/download/43/spectrum-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="mysql sqlite symlinks tools staticport" - -RDEPEND=">=dev-libs/poco-1.3.3[mysql?,sqlite?] - media-gfx/imagemagick[cxx] - >=net-im/pidgin-2.6.0 - >=net-libs/gloox-1.0 - dev-python/xmpppy - dev-libs/libev - spectrum.confd - else - sed -e 's,\$filename:protocol,'${protocol}',g' \ - -e 's,\$filename:port,'${port}',g' \ - spectrum.cfg > "${ED}/etc/spectrum/${protocol}.cfg" || die - sed -e 's,PROTOCOL,'${protocol}',g' \ - "${FILESDIR}"/spectrum.confd > spectrum.confd - fi - - # install prepared confd - newconfd spectrum.confd spectrum.${protocol} || die - - if ! use staticport; then - port=$[${port}+1] - fi - done - - # Install init files - newinitd "${FILESDIR}"/spectrum.initd spectrum || die - for protocol in ${PROTOCOL_LIST}; do - dosym spectrum /etc/init.d/spectrum."${protocol}" - done - - # Directories - dodir "/var/lib/spectrum" || die - dodir "/var/log/spectrum" || die - dodir "/var/run/spectrum" || die - - # Directories for each transport - for protocol in ${PROTOCOL_LIST}; do - dodir "/var/lib/spectrum/$protocol/database" || die - dodir "/var/lib/spectrum/$protocol/userdir" || die - dodir "/var/lib/spectrum/$protocol/filetransfer_cache" || die - done - - # Install mysql schema - if use mysql; then - insinto "/usr/share/spectrum/schemas" - doins schemas/* || die - fi - - # Install misc tools - if use tools; then - insinto "/usr/share/spectrum/tools" - doins tools/* || die - fi - - # Set correct rights - fowners jabber:jabber -R "/etc/spectrum" || die - fowners jabber:jabber -R "/var/lib/spectrum" || die - fowners jabber:jabber -R "/var/log/spectrum" || die - fowners jabber:jabber -R "/var/run/spectrum" || die - fperms 750 "/etc/spectrum" || die - fperms 750 "/var/lib/spectrum" || die - fperms 750 "/var/log/spectrum" || die - fperms 750 "/var/run/spectrum" || die -} -- cgit v1.2.3