Skip to content

Commit

Permalink
dev-php/PEAR-Net_Ping: new EAPI=6 revision sans the php-pear-r1 eclass.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
orlitzky committed Jan 8, 2017
1 parent 83c5e6d commit 7a32c54
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 18 deletions.
14 changes: 0 additions & 14 deletions dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r1.ebuild

This file was deleted.

28 changes: 28 additions & 0 deletions dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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="OS independent wrapper class for executing ping calls"
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/examples

insinto /usr/share/php/Net
doins -r Ping.php
}
11 changes: 7 additions & 4 deletions dev-php/PEAR-Net_Ping/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>PHP</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>PHP</name>
</maintainer>
<upstream>
<remote-id type="github">pear/Net_Ping</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 7a32c54

Please sign in to comment.