From 88fd558330b282b3aac51bf29fc7c663dec86fe7 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 27 Oct 2011 11:16:06 +0200 Subject: [PATCH] created a wkhtmltopdf-static.ebuild --- media-gfx/wkhtmltopdf-static/Manifest | 2 ++ .../wkhtmltopdf-static-0.11.0_rc1.ebuild | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 media-gfx/wkhtmltopdf-static/Manifest create mode 100644 media-gfx/wkhtmltopdf-static/wkhtmltopdf-static-0.11.0_rc1.ebuild diff --git a/media-gfx/wkhtmltopdf-static/Manifest b/media-gfx/wkhtmltopdf-static/Manifest new file mode 100644 index 0000000..9eb82d3 --- /dev/null +++ b/media-gfx/wkhtmltopdf-static/Manifest @@ -0,0 +1,2 @@ +DIST wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 11175276 RMD160 b60ad8cd28499a99fc80c1df615a2d2caf6b091e SHA1 1f5a9ed45c029055b2770d56ec31c890a3e2d33f SHA256 b20c17284d4c03d81ac6ec3e251201da2b99830c9ac831281c8b5d841e7a6632 +EBUILD wkhtmltopdf-static-0.11.0_rc1.ebuild 554 RMD160 70dc85dc89726518bdaaef1ec9c05f8678503df3 SHA1 0a6a3e0aa88b6741fa958f33f862c3395fd34b43 SHA256 d1b342ee7e27daed4466cc4d2c7e91ac96741555bb74cc968f158f94d5d2467a diff --git a/media-gfx/wkhtmltopdf-static/wkhtmltopdf-static-0.11.0_rc1.ebuild b/media-gfx/wkhtmltopdf-static/wkhtmltopdf-static-0.11.0_rc1.ebuild new file mode 100644 index 0000000..6ab642e --- /dev/null +++ b/media-gfx/wkhtmltopdf-static/wkhtmltopdf-static-0.11.0_rc1.ebuild @@ -0,0 +1,25 @@ +# 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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="x11-libs/libXrender" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + mkdir ${S} +} + +src_install() { + exeinto "/opt/${PN}" + doexe "${WORKDIR}"/wkhtmltopdf-amd64 +}