blob: 28605c2e2e9041b2e056a6cec1029f512cf637fd (
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
32
33
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/chm2pdf/chm2pdf-0.9.1.ebuild,v 1.5 2010/05/04 17:11:30 hwoarang Exp $
EAPI="2"
PYTHON_DEPEND="2"
inherit python eutils
DESCRIPTION="A script that converts a CHM file into a single PDF file."
HOMEPAGE="http://code.google.com/p/chm2pdf/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE=""
RDEPEND="dev-python/pychm
app-text/htmldoc
dev-libs/chmlib"
pkg_setup() {
python_set_active_version 2
}
src_prepare(){
epatch "${FILESDIR}/tempdir.patch"
}
src_install() {
dobin ${PN} || die "failed to create executable"
dodoc README || die "dodoc failed"
}
|