/[gentoo-x86]/media-gfx/wkhtmltopdf/wkhtmltopdf-0.11.0_rc1.ebuild
Gentoo

Contents of /media-gfx/wkhtmltopdf/wkhtmltopdf-0.11.0_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Nov 3 04:28:34 2011 UTC (2 years, 10 months ago) by radhermit
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6
7 inherit qt4-r2 multilib
8
9 DESCRIPTION="Convert html to pdf (and various image formats) using webkit"
10 HOMEPAGE="http://code.google.com/p/wkhtmltopdf/"
11 SRC_URI="http://wkhtmltopdf.googlecode.com/files/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="examples"
17
18 RDEPEND="x11-libs/qt-gui:4
19 x11-libs/qt-webkit:4
20 x11-libs/qt-core:4
21 x11-libs/qt-svg:4
22 x11-libs/qt-xmlpatterns:4"
23 DEPEND="${RDEPEND}"
24
25 # Tests pull data from websites and require a
26 # special patched version of qt so many fail
27 RESTRICT="test"
28
29 src_prepare() {
30 sed -i -e "s:\(INSTALLBASE/\)lib:\1$(get_libdir):" src/lib/lib.pro || die
31 }
32
33 src_configure() {
34 eqmake4 INSTALLBASE="${D}"/usr
35 }
36
37 src_test() {
38 ./scripts/test.sh || die "tests failed"
39 }
40
41 src_install() {
42 default
43 use examples && dodoc -r examples
44 }

  ViewVC Help
Powered by ViewVC 1.1.20