dev-php/fpdf - 1.81 (ssnb)

Search

Install

Install this version:

emerge -a =dev-php/fpdf-1.81

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-php/fpdf-1.81

Or alternatively:

emerge --autounmask-write -a =dev-php/fpdf-1.81

Package Information

Description:
FPDF is a PHP class which allows to generate PDF files with pure PHP
Homepage:
http://www.fpdf.org/
License:
freedist

Ebuild Details

Version EAPI Keywords Slot
1.81 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# shellcheck disable=SC2034

EAPI=7

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"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="dev-lang/php:*[gd,zlib]"

S="${WORKDIR}/${MY_P}"

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-php/fpdf | euse -E <flag> -p dev-php/fpdf | euse -D <flag> -p dev-php/fpdf

Global/Standard Flags

doc

Dependencies

RDEPEND

dev-lang/php:*[gd,zlib]