summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-07-16 10:09:51 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-07-16 10:14:42 -0400
commit3a48b6e85cad944c95c97482c1dec816df0da031 (patch)
treea7bdb856e429d6116806089fd4381c637b6ba230 /dev-php
parentdev-python/docker-py: remove version 1.8.0_rc2 (diff)
downloadgentoo-3a48b6e85cad944c95c97482c1dec816df0da031.tar.gz
gentoo-3a48b6e85cad944c95c97482c1dec816df0da031.tar.bz2
gentoo-3a48b6e85cad944c95c97482c1dec816df0da031.zip
dev-php/adodb: new version 5.20.4 with improved php-7.x support.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/adodb/Manifest1
-rw-r--r--dev-php/adodb/adodb-5.20.4.ebuild41
-rw-r--r--dev-php/adodb/metadata.xml1
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest
index 670aa4bf959d..676c50393007 100644
--- a/dev-php/adodb/Manifest
+++ b/dev-php/adodb/Manifest
@@ -1 +1,2 @@
DIST adodb518a.tgz 544455 SHA256 3814dbd776ec5416f9a03eb4eecb081844b0166240dd539439cf27c79efb4d5e SHA512 d561a5143e903195a2c87e637b33c9767f62148d7466fa6cb84d3bc86e5b303c0bf0f04cf370db4b81d9ac7ef8b3f2f28af9e5f28d0956706f59a74367898c53 WHIRLPOOL 3c972f937afd76f5a4595bcee7cb3355a52a2d596615c2f7c3232d472e3b838b72547a4d5216c489f62d02fd3d96b6672b7d044aa2c39fa707f940469ea35554
+DIST v5.20.4.tar.gz 460807 SHA256 d0b15821d8fc77be2753938afc1e99d0b1f5b8f3dc1c7ab01061d8d0cbd4f394 SHA512 f635297681236fdf4e7ea84d5eb5c2760aba663c2f443052e6d25bb96d32179b4cb21de4a880d6cb9100941e2dc9eff5ef2655e57a9b2879e459cb1c9af7b7a6 WHIRLPOOL e8c14b06caa9143d971c3bc077a15d0d83dbea6167f5c2bb50dff066676c5a16b972a59131ce665b5cb6f5c3c0c8db1c3fa6fc2a5c32717cd347d4d24f52a96c
diff --git a/dev-php/adodb/adodb-5.20.4.ebuild b/dev-php/adodb/adodb-5.20.4.ebuild
new file mode 100644
index 000000000000..465db3f9f992
--- /dev/null
+++ b/dev-php/adodb/adodb-5.20.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="ADOdb"
+DESCRIPTION="Database abstraction layer for PHP"
+HOMEPAGE="http://www.adodb.org/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz"
+
+LICENSE="BSD LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+# If you want to be picky, we should require that PHP be built with at
+# least one database driver enabled; otherwise adodb isn't going to be
+# able to do anything. But, the database USE flags for dev-lang/php are
+# a mess. What we would *like* to do is have a set of USE flags for
+# adodb that then propagate to PHP itself... for example, adodb[mysql]
+# could require php[mysql]. To do that would require that we duplicate
+# the database USE flag mess for adodb -- not desirable. Instead we punt
+# and let the user install adodb unconditionally. If he doesn't have
+# database support in PHP, it just won't work.
+RDEPEND="dev-lang/php:*"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+ DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql"
+ DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php"
+ DOCS+=" pear/readme.Auth.txt"
+
+ dodoc $DOCS
+ rm -f $DOCS || die "failed to remove docs before installation"
+
+ insinto "/usr/share/php/${PN}"
+ doins *.php
+ doins -r contrib datadict drivers lang pear perf replicate session xsl
+}
diff --git a/dev-php/adodb/metadata.xml b/dev-php/adodb/metadata.xml
index 68b4b1ff7287..7598d63eede1 100644
--- a/dev-php/adodb/metadata.xml
+++ b/dev-php/adodb/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">adodb</remote-id>
+ <remote-id type="github">ADOdb</remote-id>
</upstream>
</pkgmetadata>