mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-php/PEAR-XML_Serializer: Revbump to use new eclass
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
inherit php-pear-r2
|
||||
|
||||
DESCRIPTION="Swiss-army knife for reading and writing XML files"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-lang/php:*[xml]
|
||||
>=dev-php/PEAR-XML_Parser-1.2.7
|
||||
>=dev-php/PEAR-XML_Util-1.1.1-r1
|
||||
"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
|
||||
src_install() {
|
||||
php-pear-r2_src_install
|
||||
if use examples ; then
|
||||
insinto /usr/share/php/docs/${PN/PEAR-//}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
peardev run-tests -r || die
|
||||
}
|
||||
Reference in New Issue
Block a user