summaryrefslogtreecommitdiff
blob: 82298b3208317504759d4db07db89a8ef911dce9 (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
35
36
37
38
39
40
41
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/icesndcfg/icesndcfg-0.8.ebuild,v 1.7 2003/02/13 17:14:48 vapier Exp $

IUSE="nls esd"

S=${WORKDIR}/${P}
DESCRIPTION="IceWM sound editor."
SRC_URI="http://www.selena.kherson.ua/xvadim/${P}.tar.bz2"
HOMEPAGE="http://www.selena.kherson.ua/xvadim"

DEPEND="virtual/x11
	=x11-libs/gtk+-1.2*
	esd? ( media-sound/esound )"

#RDEPEND="x11-wm/icewm
#	nls? ( sys-devel/gettext )"

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

src_compile () {

	local myconf

	use nls || myconf="--disable-nls"
	use esd \
		&& myconf="${myconf} --enable-esd" \
		|| myconf="${myconf} --disable-esd"

	econf \
		${myconf} || die
	emake || die
}

src_install () {
	einstall || die

	dodoc AUTHORS COPYING TODO README
}