diff options
Diffstat (limited to 'dev-php/adodb')
-rw-r--r-- | dev-php/adodb/Manifest | 2 | ||||
-rw-r--r-- | dev-php/adodb/adodb-5.20.15.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest index 05e6d5fd0d28..c39c60d8ef0e 100644 --- a/dev-php/adodb/Manifest +++ b/dev-php/adodb/Manifest @@ -1,3 +1,5 @@ DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb +DIST adodb-5.20.15.tar.gz 466749 BLAKE2B ca232e15094eaf728dd82b449cfded4f84fc773e5dbe1a06b7bb15fc18487080131c52d7ae9d77e6a401bfd53baa7875810c94b6bda615d0a836a715914de9d7 SHA512 87c6f508f49a54e436b56d47d3c0b2801f4f022876013a2ffa23e751cc4c7aa83aa359e51acc4f8351fd596ad4f5d71326204ae3d57514c4354f68669e412c73 EBUILD adodb-5.20.14.ebuild 1444 BLAKE2B 2319ca487ac6443446d2b53a33bd731f77db4b01ca5d62d964a94deebe3df16fa527ad1f26477156b1c0073a7e0f2005a72a95e4a4277358d2615ded2cb3d375 SHA512 ef9092b2504eadb5d4b8a3a7939cc17ed4e6cb8760ffaa77ec7f3f9a1b65c94345ad53ecb33de06e7c48626ee59f4fcf65adf666eb3b4d49df59b7c15e48a95e +EBUILD adodb-5.20.15.ebuild 1452 BLAKE2B e5286f48e8bdf5fdae03893ea87292ed6da2dffae801140e2dfcd31c1a5994f205d2a17b1f58bcf757f14f1bc6230d367a4deb007facfd097f298982529fac98 SHA512 20efbbea0b7a1db0aae61b433faab6d4ec222c8082c37a5a34875cf214794e1a104a4b5e47e84f822b43576f64233ecea9a1a19e5759c98cef28c80aac4b1444 MISC metadata.xml 377 BLAKE2B 29889d626a5c0b8d16ae7cf02f45a0e6ebee2d633110a534bcc37c9539c4fc4b8ce15ecfd8ae3768b0f79ab34f088416b1bdb4403c7769f3c6e45477d0a2bf8d SHA512 f83ababfd8add084a2dcf96d74eadae96b35b5d71ea30a98a41b5ee3d222fcabcfb63607e4517be261bfa246d461684fd95b3bb01cb58464ff8f986d123aa23b diff --git a/dev-php/adodb/adodb-5.20.15.ebuild b/dev-php/adodb/adodb-5.20.15.ebuild new file mode 100644 index 000000000000..f16a3af534d9 --- /dev/null +++ b/dev-php/adodb/adodb-5.20.15.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ADOdb" +DESCRIPTION="Database abstraction layer for PHP" +HOMEPAGE="https://github.com/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 contrib datadict drivers lang pear perf replicate session xsl +} |