# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/pymsnt/pymsnt-0.10.ebuild,v 1.1 2005/08/28 16:13:36 humpback Exp $ inherit eutils python S=${WORKDIR}/pymsnt-0.11 DESCRIPTION="MSN transport for Jabber" HOMEPAGE="http://msn-transport.jabberstudio.org/" SRC_URI="http://msn-transport.jabberstudio.org/tarballs/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" DEPEND=" >=net-im/jabber-base-0.0 >=dev-lang/python-2.3" RDEPEND=" || ((>=dev-python/twisted-2 dev-python/twisted-words dev-python/twisted-xish dev-python/twisted-web dev-python/imaging) .*/\/var\/spool\/jabber\/${PN}<\/spooldir>/" \ -e "s/.*.*/\/var\/run\/jabber\/pymsnt.pid<\/pid>/" \ -e "s/.*.*/\/var\/log\/jabber\/${PN}-debug.log<\/debugLog>/" \ config-example.xml insinto /etc/jabber newins config-example.xml pymsnt.xml exeinto /etc/init.d newexe ${FILESDIR}/${P}.initd pymsnt sed -i -e "s/PATH/python${PYVER}/" ${D}/etc/init.d/pymsnt dodir /var/spool/jabber/pymsnt fowners jabber:jabber /var/spool/jabber/pymsnt } pkg_postinst() { einfo "A sample configuration file has been installed in /etc/jabber/pymsnt.xml." einfo "Please edit it, and the configuration of you Jabber server to match." einfo "Also make sure you update the config file if you upgrade, there are new" einfo "settings for file transfer." }