commit:     53e02f25bfcb02d2cf92ca6c7d58a2521f4e2700
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 31 13:13:56 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Oct 31 13:13:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e02f25

dev-php/tcpdf: Version bump for 6.2.25

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-php/tcpdf/Manifest            |  1 +
 dev-php/tcpdf/tcpdf-6.2.25.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-php/tcpdf/Manifest b/dev-php/tcpdf/Manifest
index 2899d3fc128..fec6e689a36 100644
--- a/dev-php/tcpdf/Manifest
+++ b/dev-php/tcpdf/Manifest
@@ -1 +1,2 @@
 DIST tcpdf-6.2.16.tar.gz 17006033 BLAKE2B 
a4a9b502812bca3babe9d89bc215e75c951a2f3649ac01cf7327d5e13ccfd36e9586eb15a712fd48245f504ace2bcf7075413f9ee06526f4dec5c7d6c3e34b9d
 SHA512 
302022636cd2c178e2d015b702188d59b608855110928e253daf7dd14e117a6770ad85385023c7970f13347142c60cc62a8fbdcee471364c47cb499fc3fbaa6c
+DIST tcpdf-6.2.25.tar.gz 17006366 BLAKE2B 
f95d9d4931d56459d5ae9ea9bcaad72a31abaa8e9404fea17bc69089fb93b89d94a027512568282b6b8758651c3d347c3190a38db7ee200939cc045b9f12650b
 SHA512 
d2e2bdf080c0a6af918a14c4f5704ee4bf7adad76044c89c3165afe392e39fa7bf98271da976cec7f024e3047e1df49090cb0206084efa77bb5b76708d6524c8

diff --git a/dev-php/tcpdf/tcpdf-6.2.25.ebuild 
b/dev-php/tcpdf/tcpdf-6.2.25.ebuild
new file mode 100644
index 00000000000..ff9b6ad0512
--- /dev/null
+++ b/dev-php/tcpdf/tcpdf-6.2.25.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents"
+HOMEPAGE="http://www.tcpdf.org/";
+SRC_URI="https://github.com/tecnickcom/TCPDF/archive/${PV}.tar.gz
+       -> ${P}.tar.gz"
+# Main source is LGPL-3+, some included fonts have other licenses
+LICENSE="LGPL-3+ GPL-3 BitstreamVera GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="dev-lang/php"
+
+S="${WORKDIR}/${P^^}"
+
+src_install() {
+       insinto /etc
+       doins config/tcpdf_config.php
+       # Create a symlink for the config file, because the library will only
+       # look for it in its own source tree (not in /etc where we've put it).
+       dosym ../../../../../etc/tcpdf_config.php 
"/usr/share/php/${PN}/config/tcpdf_config.php"
+
+       exeinto "/usr/share/php/${PN}/tools"
+       doexe tools/tcpdf_addfont.php
+
+       insinto "/usr/share/php/${PN}"
+       doins tcpdf*.php
+       doins -r include fonts
+       DOCS=( CHANGELOG.TXT README.md )
+
+       use examples && HTML_DOCS=( examples )
+       einstalldocs
+}

Reply via email to