mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 14:38:43 +02:00
Upstream ships a Makefile that tries to run the tests with "make test". Since we no longer have PHPUnit in the tree, that won't work. Closes: https://bugs.gentoo.org/935851 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
29 lines
635 B
Bash
29 lines
635 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Andrew McMillan's Web Libraries"
|
|
HOMEPAGE="https://gitlab.com/davical-project/awl"
|
|
SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz"
|
|
S="${WORKDIR}"
|
|
LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
# Requires PHPunit and we no longer have it.
|
|
RESTRICT=test
|
|
|
|
RDEPEND="dev-lang/php:*[pdo,xml]"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-php8.x-compat.patch" )
|
|
|
|
src_compile() {
|
|
:
|
|
}
|
|
|
|
src_install() {
|
|
einstalldocs
|
|
insinto /usr/share/php/${PN}
|
|
doins -r dba inc
|
|
}
|