dev-php/adodb - 5.22.7 (gentoo)

Search

Package Information

Description:
Database abstraction layer for PHP
Homepage:
https://adodb.org/ https://github.com/ADOdb/ADOdb
License:
BSD LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
5.22.7 8 ~alpha amd64 arm ~hppa ppc64 ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 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"

S="${WORKDIR}/${MY_PN}-${PV}"

LICENSE="BSD LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ppc64 ~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
}

Dependencies

RDEPEND

dev-lang/php:*

Manifest for 5.22.7

Type File Size Source URLs
DIST adodb-5.22.7.tar.gz 447580 bytes https://github.com/ADOdb/ADOdb/archive/v5.22.7.tar.gz