# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="The GTK disk catalog" HOMEPAGE="http://www.nongnu.org/gtktalog/index.html" SRC_URI="http://chevdor.homelinux.com/GTKtalog/download/${PN}-1.0.5pre1.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="nls gtk2" RDEPEND="=x11-libs/gtk+-1.2* >=gnome-base/gnome-libs-1.4.1.2-r1 >=sys-libs/zlib-1.1.4" DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) gtk2? ( >=x11-libs/gtk+-2.0 )" S="${WORKDIR}/${PN}-1.0.5pre1" src_compile() { local myconf= use gtk2 \ && myconf="${myconf} --enable-gnome20" myconf="${myconf} \ --enable-htmltitle \ --enable-mp3info \ --enable-aviinfo \ --enable-mpeginfo \ --enable-modinfo \ --enable-ogginfo \ --enable-catalog2 \ --enable-catalog3" econf \ `use_enable nls` \ ${myconf} || die "econf failed" emake || die } src_install() { einstall || die dodoc AUTHORS BUGS ChangeLog NEWS README TODO }