# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/yahoo-transport/yahoo-transport-2.3.2.ebuild,v 1.6 2007/05/06 12:18:17 genone Exp $ inherit eutils DESCRIPTION="Open Source Jabber Server Yahoo transport" HOMEPAGE="http://yahoo-transport-2.jabberstudio.org/" SRC_URI="http://www.jabberstudio.org/files/yahoo-transport-2/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~hppa ~sparc ~amd64 ~alpha" SLOT="0" IUSE="" DEPEND="=net-im/jabberd-1.4* =dev-libs/glib-1*" src_unpack() { unpack ${P}.tar.gz cd ${S} epatch ${FILESDIR}/yahoo-makefile.patch } src_compile() { emake || die } src_install() { dodir /etc/jabber /usr/lib/jabberd insinto /usr/lib/jabberd doins yahoo-transport.so insinto /etc/jabber doins ${FILESDIR}/yahootrans.xml newinitd ${FILESDIR}/yahoo-transport.init yahoo-transport dodoc README ${FILESDIR}/README.Gentoo } pkg_postinst() { elog elog "Please read /usr/share/doc/${P}/README.Gentoo.gz" elog "And please notice that now yahoo-transport comes with a init.d script" elog "dont forget to add it to your runlevel." elog }