diff options
Diffstat (limited to 'dev-php/adodb')
| -rw-r--r-- | dev-php/adodb/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/adodb/adodb-5.22.12.ebuild | 39 | ||||
| -rw-r--r-- | dev-php/adodb/metadata.xml | 4 |
3 files changed, 40 insertions, 4 deletions
diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest index 51262f31db99..4228f863f32c 100644 --- a/dev-php/adodb/Manifest +++ b/dev-php/adodb/Manifest @@ -1 +1,2 @@ +DIST adodb-5.22.12.tar.gz 451313 BLAKE2B f59a770d6686a99805faebefd20fdaba04efe1789ec3c21f8db48ffc26a8621ef8b69a70186c6a6756def171e5c3b1ad902d5152a9cff2aa60ad24da38479d35 SHA512 7517a879b48be6a276cf3662a0878edffd8a3c4bfbb70cb7fc739db96b8e1c20bf05da72bfd2d80b73ccf652290330c079cb6a0c3eb7f998f4eb4958e901fb4b DIST adodb-5.22.7.tar.gz 447580 BLAKE2B 1d8e6518155585f7e82f697e463832c4d798dce0bc59fb4a068aef7430945fe7cbfb7112b150f36fc91fb9555189276032da420bec68a71c6438c1d513dd3594 SHA512 731e5def40699bc445b9ef44585b7db6f890d977aaafaac58ea1fcfadd9d89d00871a279549f6e8ff683fe56f7061d78cdc2457e99ed0636a8497cae44bddc99 diff --git a/dev-php/adodb/adodb-5.22.12.ebuild b/dev-php/adodb/adodb-5.22.12.ebuild new file mode 100644 index 000000000000..47bb25b8bdaf --- /dev/null +++ b/dev-php/adodb/adodb-5.22.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +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" + +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~riscv ~sparc ~x86" + +# 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:*" + +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 +} diff --git a/dev-php/adodb/metadata.xml b/dev-php/adodb/metadata.xml index 3a6bd95fbdf5..ba8317ff47ce 100644 --- a/dev-php/adodb/metadata.xml +++ b/dev-php/adodb/metadata.xml @@ -5,9 +5,5 @@ <email>php-bugs@gentoo.org</email> <name>PHP</name> </maintainer> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - <name>Michael Orlitzky</name> - </maintainer> <origin>srcux</origin> </pkgmetadata> |
