commit:     b5a49dd280a0d26ab7a629e47ac79c79dc1c2828
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 13:11:09 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 13:11:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a49dd2

dev-php/adodb: add 5.22.2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-php/adodb/Manifest            |  1 +
 dev-php/adodb/adodb-5.22.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest
index 7b86639ee4bf..13b0e7dfce94 100644
--- a/dev-php/adodb/Manifest
+++ b/dev-php/adodb/Manifest
@@ -1 +1,2 @@
 DIST adodb-5.21.4.tar.gz 435699 BLAKE2B 
7025a7ba322840d62e5b2b3f9e5933d89560a0eff52f0d77976ca442080e7a6a6d778d4fa106357ab68b4f207c98503854f601f579c0c11ee27fb52da5f53519
 SHA512 
0142ffa0dad1275780aadbc1ad702870b977eb141321f19c265310284d6d4a0820653e77fb3b4ce002dcc42fa952546e90428dff4f931a2bb2a83031bd818f01
+DIST adodb-5.22.2.tar.gz 443988 BLAKE2B 
1166c7b53a5ff39afe8d0a77cf56d2682e7f68d8f52f12ed9bf2519f4a15c626e26b590c7df3066f65bf6bbb7458be502d5a9e9b1ed2663286c51761fd58784c
 SHA512 
50c2784f92e9ac372b34ed32d41efe82341dad09f269603359c50a30c9c301b7e65b2dfa75ae02cc7f12437ef57d8a9575e5a36e68d5b6e225fa1073ead3e339

diff --git a/dev-php/adodb/adodb-5.22.2.ebuild 
b/dev-php/adodb/adodb-5.22.2.ebuild
new file mode 100644
index 000000000000..a3135caca47d
--- /dev/null
+++ b/dev-php/adodb/adodb-5.22.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="ADOdb"
+DESCRIPTION="Database abstraction layer for PHP"
+HOMEPAGE="https://adodb.org/ https://github.com/ADOdb/ADOdb";
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.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 datadict drivers lang pear perf session xsl
+}

Reply via email to