# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-xsys/xchat-xsys-1.9.1-r1.ebuild,v 1.1 2005/01/16 13:05:01 chainsaw Exp $ inherit eutils MY_P=${P/xchat-/} DESCRIPTION="Sysinfo plugin for X-Chat." SRC_URI="http://mshoup.us/downloads/xsys/${MY_P}.tar.bz2" HOMEPAGE="http://mshoup.us/downloads/xsys/README-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="bmp xmms" S=${WORKDIR}/${MY_P} DEPEND=">=net-irc/xchat-2.4.0 bmp? (media-plugins/bmp-infopipe) xmms? (media-plugins/xmms-infopipe)" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PV}-bmp-support.patch } src_compile() { emake -j1 || die "Compile failed" } src_install() { exeinto /usr/$(get_libdir)/xchat/plugins doexe xsys-${PV}.so dodoc ChangeLog README }