-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vitaly Zdanevich <[email protected]> Closes: #221 Signed-off-by: David Roman <[email protected]>
- Loading branch information
1 parent
1ed7100
commit f840bd0
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST fpdf186.tgz 118080 BLAKE2B c4dc7bd3a2169ccd61fae9b99f91b7904237b81d7d72cdcb5cf5dceb63b01d73dabed2cead145ec3176e217ee5eb0244359a646abee7fc7c78b5f45f981150c7 SHA512 4894908e18d08f1ea21914c0d25ecc406875326c4bfa5f9cc9d92581e79597ec4fde173f6406bb1f84e45cef363c6b418007cf6e15c8bb8e941d925840c9ab96 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright 2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
# shellcheck disable=SC2034 | ||
EAPI=8 | ||
|
||
MY_PV="$(ver_rs 1 '')" | ||
MY_P="${PN}${MY_PV}" | ||
|
||
DESCRIPTION="FPDF is a PHP class which allows to generate PDF files with pure PHP" | ||
HOMEPAGE="http://www.fpdf.org/" | ||
SRC_URI="http://www.fpdf.org/en/dl.php?v=${MY_PV}&f=tgz -> ${MY_P}.tgz" | ||
|
||
S="${WORKDIR}/${MY_P}" | ||
|
||
LICENSE="MIT-fpdf" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="doc" | ||
|
||
RDEPEND="dev-lang/php:*[gd,zlib]" | ||
|
||
DOCS=( install.txt ) | ||
|
||
src_install() { | ||
insinto "/usr/share/php/${PN}" | ||
doins -r ./*.php font/ makefont/ | ||
|
||
if use doc; then | ||
docinto html | ||
dodoc -r changelog.htm fpdf.css FAQ.htm html/ tutorial/ | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Vitaly Zdanevich</name> | ||
</maintainer> | ||
<longdescription> | ||
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs. | ||
|
||
FPDF has other advantages: high level functions. Here is a list of its main features: | ||
|
||
* Choice of measure unit, page format and margins | ||
* Page header and footer management | ||
* Automatic page break | ||
* Automatic line break and text justification | ||
* Image support (JPEG, PNG and GIF) | ||
* Colors | ||
* Links | ||
* TrueType, Type1 and encoding support | ||
* Page compression | ||
|
||
FPDF requires no extension (except Zlib to enable compression and GD for GIF support). The latest version requires at least PHP 5.1. | ||
</longdescription> | ||
</pkgmetadata> |