# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="QComicBook is a viewer for comic book archives containing jpeg/png images." # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="http://linux.bydg.org/~yogin/" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://linux.bydg.org/~yogin/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" # Comprehensive list of any and all USE flags leveraged in the ebuild, # with the exception of any ARCH specific flags, i.e. "ppc", "sparc", # "x86" and "alpha". This is a required variable. If the ebuild doesn't # use any USE flags, set to "". IUSE="X qt" RDEPEND=">=x11-libs/qt-3.3.3" src_compile() { ./configure --prefix=/usr --with-Qt-dir=$QTDIR || die "Configure failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc README TODO ChangeLog AUTHORS insinto ${KDEDIR}/share/icons/default.kde/48x48/apps doins icons/qcomicbook.png }