Skip to content

Commit

Permalink
dev-php/tcpdf: Version bump for 6.2.25
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Evans <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
Brian Evans committed Oct 31, 2018
1 parent e20f22c commit 53e02f2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-php/tcpdf/Manifest
Original file line number Diff line number Diff line change
@@ -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
37 changes: 37 additions & 0 deletions dev-php/tcpdf/tcpdf-6.2.25.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 53e02f2

Please sign in to comment.