diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-12-10 22:58:41 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-12-10 22:58:41 +0000 |
commit | cd3489c3e8ae06a83e0d7e45dfac34882476c8bb (patch) | |
tree | 3db2c1ed370ffff327dc539d3c4569477d32aa47 /app-text/djview4/djview4-4.2.3.ebuild | |
parent | Version bump, bug #200853. Dropped keywords for new dependency dev-java/hoteqn. (diff) | |
download | gentoo-2-cd3489c3e8ae06a83e0d7e45dfac34882476c8bb.tar.gz gentoo-2-cd3489c3e8ae06a83e0d7e45dfac34882476c8bb.tar.bz2 gentoo-2-cd3489c3e8ae06a83e0d7e45dfac34882476c8bb.zip |
version bump
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'app-text/djview4/djview4-4.2.3.ebuild')
-rw-r--r-- | app-text/djview4/djview4-4.2.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-text/djview4/djview4-4.2.3.ebuild b/app-text/djview4/djview4-4.2.3.ebuild new file mode 100644 index 000000000000..05d7e79295c4 --- /dev/null +++ b/app-text/djview4/djview4-4.2.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.2.3.ebuild,v 1.1 2007/12/10 22:58:40 aballier Exp $ + +inherit eutils versionator qt4 toolchain-funcs + +MY_P=${PN}-$(replace_version_separator 2 '-') + +DESCRIPTION="Portable DjVu viewer using Qt4" +HOMEPAGE="http://djvu.sourceforge.net/djview4.html" +SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" +DEPEND=">=app-text/djvu-3.5.19 + $(qt4_min_version 4.1)" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" + +src_compile() { + QTDIR=/usr econf $(use_enable debug) \ + --disable-nsdejavu \ + --disable-desktopfiles || die "econf failed" + + emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + #remove conflicting symlinks + rm -f "${D}/usr/bin/djview" "${D}/usr/share/man/man1/djview.1" + + dodoc README TODO NEWS + + cd desktopfiles + insinto /usr/share/icons/hicolor/32x32/apps + newins hi32-djview4.png djvulibre-djview4.png + domenu djvulibre-djview4.desktop +} |