Diff PEAR-Text_Highlighter-0.7.3-r1 with a PEAR-Text_Highlighter-0.8.0
/usr/portage/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.8.0.ebuild 2023-10-09 14:52:29.960368362 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2017 Gentoo Foundation |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=6 |
5 | 5 | |
6 |
MY_PN="${PN/PEAR-/}" |
|
7 |
MY_P="${MY_PN}-${PV}" |
|
6 |
inherit php-pear-r2 |
|
8 | 7 | |
9 | 8 |
DESCRIPTION="A package for syntax highlighting" |
10 |
HOMEPAGE="https://pear.php.net/package/Text_Highlighter" |
|
11 |
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" |
|
12 | 9 |
LICENSE="PHP-3.01" |
13 | 10 |
SLOT="0" |
14 | 11 |
KEYWORDS="~amd64 ~x86" |
... | ... | |
19 | 16 |
# ones in the release are already pre-generated. The dependency on the |
20 | 17 |
# XML_Serializer, on the other hand, is not documented but is requird |
21 | 18 |
# by the XML output renderer. |
22 |
RDEPEND="dev-lang/php |
|
23 |
dev-php/PEAR-PEAR |
|
19 |
RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 |
|
24 | 20 |
dev-php/PEAR-XML_Serializer" |
25 | ||
26 |
S="${WORKDIR}/${MY_P}" |
|
27 | ||
28 |
src_install() { |
|
29 |
dodoc README TODO |
|
30 | ||
31 |
insinto /usr/share/php |
|
32 |
doins -r Text |
|
33 |
} |