summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-12-29 10:49:44 -0500
committerBrian Evans <grknight@gentoo.org>2016-12-29 10:49:44 -0500
commitbc8c1ddb25330beaf16b8970fe07bbb5e5dea06a (patch)
treeb44fc651eec99fc3b24ed4d565248ca7eeea2876 /dev-php/PEAR-Net_DNS2
parentsys-devel/bmake: bump to 20161212 (diff)
downloadgentoo-bc8c1ddb25330beaf16b8970fe07bbb5e5dea06a.tar.gz
gentoo-bc8c1ddb25330beaf16b8970fe07bbb5e5dea06a.tar.bz2
gentoo-bc8c1ddb25330beaf16b8970fe07bbb5e5dea06a.zip
dev-php/PEAR-Net_DNS2: Version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/PEAR-Net_DNS2')
-rw-r--r--dev-php/PEAR-Net_DNS2/Manifest1
-rw-r--r--dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-php/PEAR-Net_DNS2/Manifest b/dev-php/PEAR-Net_DNS2/Manifest
index 7586e4e717c8..abbf1093853f 100644
--- a/dev-php/PEAR-Net_DNS2/Manifest
+++ b/dev-php/PEAR-Net_DNS2/Manifest
@@ -1,2 +1,3 @@
DIST Net_DNS2-1.2.5.tgz 72371 SHA256 68319db33c21a458e275f38bbc7b4c677539b254e2e8ac3135a698f3e8b85a05 SHA512 d01fff16d7474754cf555abb65cdd828a764c31bd81e178622f2dd768654c5df5e87456350380518f64d8ac29cfd0ec24d2e2aefc02d668725c38f9ce34e45a5 WHIRLPOOL 72c809e366943bf34d64e61cd88818daf8eb9c5407a30fd13ca61c2f01136dc7a74654f2c72e8025aa4e04cecdfbd6150b7f9eae2b01b6a36e7914945b8df56d
DIST Net_DNS2-1.3.1.tgz 78432 SHA256 48d3652d2e5df6ce630e4f2c412a6d1b22bad21d907dece03062a3bed33a2ae3 SHA512 46a0f9a25be93b2eb61e204cc91006525ef57bca81f31df3e0cb1d79323ee95ad11acca5d8997c94457897cf318597028bfdc44a8f1c7faeaa3d64f9f4bd3046 WHIRLPOOL b4dce5c2211b633f7a964ddf0099e0f8ff009253bf710a5ccbaca8546e8feef3cc1dc680bf63bc6cafb5da08e7faaf4869c5285b3ea65c564d77d6c73ddd6925
+DIST Net_DNS2-1.4.2.tgz 81533 SHA256 8e95991b9206ae7daee42c487e46cb9de53b303b0619cca7bab985fb565dd992 SHA512 0f722a89f2a367988e7f00e23277e4d2d28d17a60976e5cc231c29e515bdc24be77e47fad082da9d41003ddbd5889ce31d44b9cc5816d7c784e567de4897ef18 WHIRLPOOL 89270a95b8378183ce973633933408ebbf9cfef9bd41d4658e7e5ce5f56d87798fee7030485a462f3e619ecf49b08aff92a0df082fe4d70b4fe52e72e6192d37
diff --git a/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.2.ebuild b/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.2.ebuild
new file mode 100644
index 000000000000..a6ff20e6416e
--- /dev/null
+++ b/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.2.ebuild
@@ -0,0 +1,39 @@
+# 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}"
+
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
+DESCRIPTION="Object-oriented PHP5 resolver library used to communicate with a DNS server"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*[sockets]"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local DOCS=( README.md )
+ insinto /usr/share/php
+ doins -r Net
+ einstalldocs
+}
+
+pkg_postinst() {
+ # Register the package from the package.xml file
+ if [ -f "${WORKDIR}/package.xml" ] ; then
+ "${EROOT}usr/bin/peardev" install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null || die
+ fi
+}
+
+pkg_postrm() {
+ # Uninstall known dependency
+ "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/${MY_PN}"
+}