2011-10-27 11:16:06 +02:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
DESCRIPTION="Convert html to pdf (and various image formats) using webkit
|
|
|
|
static"
|
|
|
|
HOMEPAGE="http://code.google.com/p/wkhtmltopdf/"
|
|
|
|
SRC_URI="http://wkhtmltopdf.googlecode.com/files/${P/-static/}-static-amd64.tar.bz2"
|
|
|
|
|
2011-10-27 12:02:35 +02:00
|
|
|
LICENSE="LGPL-2"
|
2011-10-27 11:16:06 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
2011-10-27 12:02:35 +02:00
|
|
|
RDEPEND="x11-libs/libXrender
|
|
|
|
x11-libs/libXext
|
|
|
|
media-fonts/urw-fonts"
|
2011-10-27 11:16:06 +02:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
mkdir ${S}
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
exeinto "/opt/${PN}"
|
2011-10-27 12:02:35 +02:00
|
|
|
doexe "${WORKDIR}/wkhtmltopdf-amd64"
|
2011-10-27 11:16:06 +02:00
|
|
|
}
|