summaryrefslogtreecommitdiff
blob: aa37f546d809189a900118f7f29ca6eb4ac86d2c (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/media-sound/yconsole/yconsole-3.0.5.ebuild,v 1.2 2004/02/22 22:00:47 vapier Exp $

inherit eutils

DESCRIPTION="monitor and control the Y server"
HOMEPAGE="http://wolfpack.twu.net/YIFF/"
SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="=x11-libs/gtk+-1*
	media-libs/imlib
	media-libs/yiff"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${PV}-makefile-cflags.patch
}

src_compile() {
	cd yconsole
	make OPTFLAGS="${CFLAGS}" || die
}

src_install() {
	cd yconsole
	make install PREFIX=${D}/usr || die
	dodoc AUTHORS README
}