commit:     4bbb247b790e3817f8185026d81f9b45325ef356
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 00:47:42 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 00:47:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bbb247b

dev-php/tcpdf: new version 6.2.13.

Package-Manager: portage-2.3.0

 dev-php/tcpdf/Manifest             |  2 +-
 dev-php/tcpdf/tcpdf-6.0.096.ebuild | 32 --------------------------------
 dev-php/tcpdf/tcpdf-6.2.13.ebuild  | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 33 deletions(-)

diff --git a/dev-php/tcpdf/Manifest b/dev-php/tcpdf/Manifest
index 9a1edb8..dc0a87d 100644
--- a/dev-php/tcpdf/Manifest
+++ b/dev-php/tcpdf/Manifest
@@ -1 +1 @@
-DIST tcpdf_6_0_096.zip 16734285 SHA256 
352086268b86900b9c6a68353ac5f31a86438d10f20f49797248f3f4b41e605b SHA512 
99a554d02ee5e1f5288a09c95aa11c3a1384112a133bf98069a08ec6b02d87459366645b6d0548cc293f71f85f2b9b661644e5151dab50834b6b5d70cc1126a5
 WHIRLPOOL 
31dc13ca81f927f8be84e425839088af0092b2e96246ce10480897ee3fa32d3d22020e45f29aa7ccf9d7f1ea5fbb480d8261138bb7e3f60e1c07554720435d5d
+DIST tcpdf-6.2.13.tar.gz 17003733 SHA256 
e64756a876f196c7acf2c91a9f55c8219fb5b7607a406a980a1907c8b92c4ffb SHA512 
df140a305b17e868d5af1a9cfe07f76c1c511f437e70ce09484049c48e7f4501d7b59ad2dbccea4daaee283867fa71ec03924aa40d37ed495b77f65383f6ef85
 WHIRLPOOL 
8c617757c3807eeed301684942cc417e7d00687d953a7ceab97fc9c279a8af0973a4a61ce1ea7a77fcc2ed94ac761d2907ad88cc59b30377b42a5d65e6320b2b

diff --git a/dev-php/tcpdf/tcpdf-6.0.096.ebuild 
b/dev-php/tcpdf/tcpdf-6.0.096.ebuild
deleted file mode 100644
index 79a95f2..00000000
--- a/dev-php/tcpdf/tcpdf-6.0.096.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64 ~x86"
-
-MY_P=${PN}_${PV//./_}
-
-DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents"
-HOMEPAGE="http://www.tcpdf.org/";
-SRC_URI="mirror://sourceforge/tcpdf/${MY_P}.zip"
-# Main source is LGPL-3+, some included fonts have other licenses
-LICENSE="LGPL-3+ GPL-3 BitstreamVera GPL-2"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="dev-lang/php"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${PN}"
-
-src_install() {
-       insinto "/usr/share/php/${PN}"
-       doins *.php tcpdf.*
-       doins -r config include fonts tools
-
-       dodoc CHANGELOG.TXT README.TXT
-
-       use examples && dodoc -r examples
-}

diff --git a/dev-php/tcpdf/tcpdf-6.2.13.ebuild 
b/dev-php/tcpdf/tcpdf-6.2.13.ebuild
new file mode 100644
index 00000000..1c1012d
--- /dev/null
+++ b/dev-php/tcpdf/tcpdf-6.2.13.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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"
+
+       insinto "/usr/share/php/${PN}/tools"
+       doexe tools/tcpdf_addfont.php
+
+       insinto "/usr/share/php/${PN}"
+       doins tcpdf*.php
+       doins -r include fonts
+       dodoc CHANGELOG.TXT README.md
+
+       use examples && dodoc -r examples
+}

Reply via email to