summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-12-21 09:24:51 -0500
committerBrian Evans <grknight@gentoo.org>2016-12-21 09:25:32 -0500
commit8013e4028edd54b4cff588bd6a7540e2deef7238 (patch)
treee98e75c5ac1d9a3cd2c6a9074f9fecdc81110c20 /dev-php
parentdev-php/igbinary: Version bump (diff)
downloadgentoo-8013e4028edd54b4cff588bd6a7540e2deef7238.tar.gz
gentoo-8013e4028edd54b4cff588bd6a7540e2deef7238.tar.bz2
gentoo-8013e4028edd54b4cff588bd6a7540e2deef7238.zip
dev-php/PEAR-Console_Table: Version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PEAR-Console_Table/Manifest1
-rw-r--r--dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-php/PEAR-Console_Table/Manifest b/dev-php/PEAR-Console_Table/Manifest
index 64b790f1f71e..e5cef689213c 100644
--- a/dev-php/PEAR-Console_Table/Manifest
+++ b/dev-php/PEAR-Console_Table/Manifest
@@ -1 +1,2 @@
DIST Console_Table-1.1.6.tgz 9534 SHA256 d243b7f3c103477e13dbcf285405bc939ebb646984d4b2a2bf445ade266b5645 SHA512 b5fdceb13c45fc050c1df72b10abd258f5fa5426822cccfb36046c0d4950fdf9431765949190a17aa4f881fbba9884208059c650394696268f443217581e361b WHIRLPOOL 580bd62b4e10fa2c09765bac203def7187b46d8cfe7dae81dee88297666bec89b389e3caf1852bc26dcf0707875e46bf11efec051bcff839ee32a637a0a0e901
+DIST Console_Table-1.3.0.tgz 11391 SHA256 f89efd559cdab730c2735e79b1ae7efe40fd82ed1cdb25fba415a400ed945a07 SHA512 83227ce8e55ae38cdf91b7097879a3406898064d1c047c5a94c6cadc46cbeeea51c43d135e6aadfbdb38fa080a1b27a1d4cea1c36ff9eb3e14dc4b04de334c11 WHIRLPOOL 63c72e314b65388087108e69c425a1d31bcaff6865ef40112797674fb855ce4a5626e411cb550497434e1790fd4c20688f720852824ead3909e3fc260f2353f3
diff --git a/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0.ebuild b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0.ebuild
new file mode 100644
index 000000000000..08c20419d05f
--- /dev/null
+++ b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 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="Class that makes it easy to build console style tables"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-php/PEAR-PEAR dev-lang/php:*"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ insinto /usr/share/php/Console
+ doins Table.php
+}
+
+pkg_postinst() {
+ # Register the package from the package.xml file
+ "${EROOT}usr/bin/peardev" install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null || die
+}
+
+pkg_postrm() {
+ # Uninstall known dependency
+ "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/${MY_PN}"
+}