# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/app-cdr/gcombust/gcombust-0.1.52.ebuild,v 1.4 2002/08/16 02:31:09 murphy Exp $ DESCRIPTION="A GUI for mkisofs/mkhybrid/cdda2wav/cdrecord/cdlabelgen" HOMEPAGE="http://www.abo.fi/~jmunsin/gcombust/" DEPEND="=x11-libs/gtk+-1.2* nls? ( sys-devel/gettext )" RDEPEND="=x11-libs/gtk+-1.2* nls? ( sys-devel/gettext ) >=app-cdr/cdrtools-1.10" SLOT="0" LICENSE="GPL-2" SRC_URI="http://www.abo.fi/~jmunsin/gcombust/${P}.tar.gz" S=${WORKDIR}/${P} KEYWORDS="x86 ppc sparc sparc64" src_compile() { local myopts if [ -z "`use nls`" ] then myopts="${myopts} --disable-nls" touch intl/libintl.h else myopts="${myopts} --enable-nls" fi ./configure --host=${CHOST} \ --prefix=/usr \ ${myopts} \ || die emake || die } src_install() { make prefix=${D}/usr install || die dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO dohtml -a shtml FAQ.shtml }