summaryrefslogtreecommitdiff
blob: 584eb864b8287264570f68589cd5766f25d396e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmusic/wmusic-1.4.11.ebuild,v 1.2 2003/10/16 16:10:23 drobbins Exp $

DESCRIPTION="dockapp for xmms"
HOMEPAGE="http://home.jtan.com/~john/wmusic/"
SRC_URI="http://home.jtan.com/~john/wmusic/downloads/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 amd64"
IUSE=""
DEPEND="virtual/glibc
	virtual/x11
	>media-sound/xmms-1.2.4"

S=${WORKDIR}/${P}

src_unpack() {
	unpack ${P}-src.tar.gz
	cd ${S}/src
	mv Makefile.in Makefile.in.orig
	sed -e "s:-O2:${CFLAGS}:" Makefile.in.orig > Makefile.in
	cd ${S}
}

src_compile() {
	econf || die
	emake || die
}

src_install() {
	dobin src/wmusic
	dodoc README
}