blob: 871d69a247d00182ba0056e59648e0ac0664da07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/xchm/xchm-0.7.1.ebuild,v 1.3 2003/09/10 14:29:54 sergey Exp $
DESCRIPTION="Utility for viewing Microsoft .chm files."
HOMEPAGE="http://xchm.sf.net"
SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz
doc? ( mirror://sourceforge/xchm/${P}-doc.tar.gz ) "
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"
DEPEND=">=app-doc/chmlib-0.31
>=x11-libs/wxGTK-2.4.0"
src_compile() {
econf || die
emake || die
}
src_install() {
einstall || die
dodoc COPYING AUTHORS README NEWS
if [ "`use doc`" ]; then
cd ${S}"-doc"
dohtml html/*
fi
}
|