diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-06 15:51:14 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-06 15:51:14 +0000 |
commit | c5d228034c03f5db9089422206b87b19a89e45cf (patch) | |
tree | 233e01e284c4df80428ec6aea0050d912f85062c /app-doc/kchmviewer/kchmviewer-2.0.ebuild | |
parent | Bump to latest revision. This fixes bug #120979. (diff) | |
download | gentoo-2-c5d228034c03f5db9089422206b87b19a89e45cf.tar.gz gentoo-2-c5d228034c03f5db9089422206b87b19a89e45cf.tar.bz2 gentoo-2-c5d228034c03f5db9089422206b87b19a89e45cf.zip |
Bump to latest version from upstream. Bug #121829.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'app-doc/kchmviewer/kchmviewer-2.0.ebuild')
-rw-r--r-- | app-doc/kchmviewer/kchmviewer-2.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-doc/kchmviewer/kchmviewer-2.0.ebuild b/app-doc/kchmviewer/kchmviewer-2.0.ebuild new file mode 100644 index 000000000000..f36efc8eda75 --- /dev/null +++ b/app-doc/kchmviewer/kchmviewer-2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/kchmviewer/kchmviewer-2.0.ebuild,v 1.1 2006/02/06 15:51:14 flameeyes Exp $ + +inherit kde-functions eutils + +DESCRIPTION="Qt-based feature rich CHM file viewer." +HOMEPAGE="http://www.kchmviewer.net/" +SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="arts kde" + +DEPEND="=x11-libs/qt-3* + kde? ( kde-base/kdelibs )" + +pkg_setup() { + if use kde && use arts && ! built_with_use kde-base/kdelibs arts ; then + eerror "You are trying to compile ${CATEGORY}/${PF} with the \"arts\" USE flag enabled." + eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled." + eerror + eerror "You must either disable this use flag, or recompile" + eerror "$(best_version kde-base/kdelibs) with this use flag enabled." + die + fi +} + +src_compile() { + set-kdedir 3 + + econf $(use_with kde) $(use_with arts) || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + if use kde; then + cd ${S}/kio-msits + make DESTDIR="${D}" install || die "install kio-msits failed" + fi + dodoc ChangeLog +} |