1 |
commit: 53e02f25bfcb02d2cf92ca6c7d58a2521f4e2700 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 31 13:13:56 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 31 13:13:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e02f25 |
7 |
|
8 |
dev-php/tcpdf: Version bump for 6.2.25 |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-php/tcpdf/Manifest | 1 + |
14 |
dev-php/tcpdf/tcpdf-6.2.25.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 38 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/tcpdf/Manifest b/dev-php/tcpdf/Manifest |
18 |
index 2899d3fc128..fec6e689a36 100644 |
19 |
--- a/dev-php/tcpdf/Manifest |
20 |
+++ b/dev-php/tcpdf/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tcpdf-6.2.16.tar.gz 17006033 BLAKE2B a4a9b502812bca3babe9d89bc215e75c951a2f3649ac01cf7327d5e13ccfd36e9586eb15a712fd48245f504ace2bcf7075413f9ee06526f4dec5c7d6c3e34b9d SHA512 302022636cd2c178e2d015b702188d59b608855110928e253daf7dd14e117a6770ad85385023c7970f13347142c60cc62a8fbdcee471364c47cb499fc3fbaa6c |
23 |
+DIST tcpdf-6.2.25.tar.gz 17006366 BLAKE2B f95d9d4931d56459d5ae9ea9bcaad72a31abaa8e9404fea17bc69089fb93b89d94a027512568282b6b8758651c3d347c3190a38db7ee200939cc045b9f12650b SHA512 d2e2bdf080c0a6af918a14c4f5704ee4bf7adad76044c89c3165afe392e39fa7bf98271da976cec7f024e3047e1df49090cb0206084efa77bb5b76708d6524c8 |
24 |
|
25 |
diff --git a/dev-php/tcpdf/tcpdf-6.2.25.ebuild b/dev-php/tcpdf/tcpdf-6.2.25.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ff9b6ad0512 |
28 |
--- /dev/null |
29 |
+++ b/dev-php/tcpdf/tcpdf-6.2.25.ebuild |
30 |
@@ -0,0 +1,37 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents" |
37 |
+HOMEPAGE="http://www.tcpdf.org/" |
38 |
+SRC_URI="https://github.com/tecnickcom/TCPDF/archive/${PV}.tar.gz |
39 |
+ -> ${P}.tar.gz" |
40 |
+# Main source is LGPL-3+, some included fonts have other licenses |
41 |
+LICENSE="LGPL-3+ GPL-3 BitstreamVera GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="examples" |
45 |
+ |
46 |
+RDEPEND="dev-lang/php" |
47 |
+ |
48 |
+S="${WORKDIR}/${P^^}" |
49 |
+ |
50 |
+src_install() { |
51 |
+ insinto /etc |
52 |
+ doins config/tcpdf_config.php |
53 |
+ # Create a symlink for the config file, because the library will only |
54 |
+ # look for it in its own source tree (not in /etc where we've put it). |
55 |
+ dosym ../../../../../etc/tcpdf_config.php "/usr/share/php/${PN}/config/tcpdf_config.php" |
56 |
+ |
57 |
+ exeinto "/usr/share/php/${PN}/tools" |
58 |
+ doexe tools/tcpdf_addfont.php |
59 |
+ |
60 |
+ insinto "/usr/share/php/${PN}" |
61 |
+ doins tcpdf*.php |
62 |
+ doins -r include fonts |
63 |
+ DOCS=( CHANGELOG.TXT README.md ) |
64 |
+ |
65 |
+ use examples && HTML_DOCS=( examples ) |
66 |
+ einstalldocs |
67 |
+} |