diff options
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild | 28 | ||||
-rw-r--r-- | dev-php/PEAR-System_Command/metadata.xml | 11 |
2 files changed, 35 insertions, 4 deletions
diff --git a/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild b/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild new file mode 100644 index 000000000000..81fad648a0b6 --- /dev/null +++ b/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PHP command-line execution interface" +HOMEPAGE="http://pear.php.net/package/${MY_PN}" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && dodoc -r docs/test.php + + insinto /usr/share/php + doins -r System +} diff --git a/dev-php/PEAR-System_Command/metadata.xml b/dev-php/PEAR-System_Command/metadata.xml index aca42932b833..fb8ba261d50c 100644 --- a/dev-php/PEAR-System_Command/metadata.xml +++ b/dev-php/PEAR-System_Command/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>php-bugs@gentoo.org</email> - <name>PHP</name> -</maintainer> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <upstream> + <remote-id type="github">pear/System_Command</remote-id> + </upstream> </pkgmetadata> |