diff options
Diffstat (limited to 'dev-php/awl/awl-0.55-r1.ebuild')
-rw-r--r-- | dev-php/awl/awl-0.55-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-php/awl/awl-0.55-r1.ebuild b/dev-php/awl/awl-0.55-r1.ebuild new file mode 100644 index 000000000000..eb2c5ae25044 --- /dev/null +++ b/dev-php/awl/awl-0.55-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Andrew McMillan's Web Libraries" +HOMEPAGE="https://gitlab.com/davical-project/awl" +SRC_URI="${HOMEPAGE}/repository/archive.tar.gz?ref=r${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND="test? ( dev-php/phpunit )" +RDEPEND="dev-lang/php:*[pdo,postgres,xml]" +S="${WORKDIR}/${PN}.git" + +src_compile() { + : +} + +src_test() { + phpunit tests/ || die "test suite failed" +} + +src_install() { + dodoc debian/changelog + use doc && dohtml -r "docs/api/" + insinto "/usr/share/php/${PN}" + doins -r dba inc +} |