Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/tcpdf/
Date: Fri, 22 Feb 2019 18:29:04
Message-Id: 1550860131.00a66acfad079f77ac0a4c33f852d2a19a3a7f1e.whissi@gentoo
1 commit: 00a66acfad079f77ac0a4c33f852d2a19a3a7f1e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 22 18:26:55 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 22 18:28:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a66acf
7
8 dev-php/tcpdf: bump to v6.2.26
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/tcpdf/Manifest | 1 +
14 dev-php/tcpdf/tcpdf-6.2.26.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 38 insertions(+)
16
17 diff --git a/dev-php/tcpdf/Manifest b/dev-php/tcpdf/Manifest
18 index 14b72c9737b..a40e40fbcab 100644
19 --- a/dev-php/tcpdf/Manifest
20 +++ b/dev-php/tcpdf/Manifest
21 @@ -1 +1,2 @@
22 DIST tcpdf-6.2.25.tar.gz 17006366 BLAKE2B f95d9d4931d56459d5ae9ea9bcaad72a31abaa8e9404fea17bc69089fb93b89d94a027512568282b6b8758651c3d347c3190a38db7ee200939cc045b9f12650b SHA512 d2e2bdf080c0a6af918a14c4f5704ee4bf7adad76044c89c3165afe392e39fa7bf98271da976cec7f024e3047e1df49090cb0206084efa77bb5b76708d6524c8
23 +DIST tcpdf-6.2.26.tar.gz 17004923 BLAKE2B bd99f036a808c0063d0cb48e59dab09f313d1dd19095d8131b38c161876f325736da73745a9e47d1ecc4b29b4e961db13761037cfa453d16127761c3518a9c96 SHA512 8ea2b1f2b3cfaa07a903cf286a63ab6b7e5e49881395f905e35740bcecf2ea8ffb1fd569d5dd4f6908918c8be1467be3051dff912416bc8ec80b8848068066be
24
25 diff --git a/dev-php/tcpdf/tcpdf-6.2.26.ebuild b/dev-php/tcpdf/tcpdf-6.2.26.ebuild
26 new file mode 100644
27 index 00000000000..533692a5016
28 --- /dev/null
29 +++ b/dev-php/tcpdf/tcpdf-6.2.26.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2019 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 +}