# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P=${P/-} MY_PN=${PN/-} S="${WORKDIR}/${MY_P}" DESCRIPTION='XMMS plugin that allows you to control XMMS by sending strings to ${HOME}/.xmms/inpipe.' SRC_URI="http://rooster.stanford.edu/~ben/xmmspipe/${MY_P}.tgz" HOMEPAGE="http://rooster.stanford.edu/~ben/xmmspipe/" DEPEND="media-sound/xmms" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc amd64 sparc" IUSE="" DOCS="COMMANDS HISTORY README fade.c" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/signalbreak.patch } src_compile() { emake COPT="${CFLAGS}" || die } src_install () { newbin fade xmmspipe-fade exeinto `xmms-config --general-plugin-dir` doexe xmmspipe.so dodoc ${DOCS} }