diff options
Diffstat (limited to 'dev-php/phpunit/phpunit-3.7.20.ebuild')
-rw-r--r-- | dev-php/phpunit/phpunit-3.7.20.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-php/phpunit/phpunit-3.7.20.ebuild b/dev-php/phpunit/phpunit-3.7.20.ebuild new file mode 100644 index 000000000000..4ee1173e689a --- /dev/null +++ b/dev-php/phpunit/phpunit-3.7.20.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A PHP Unit Testing framework" +HOMEPAGE="http://phpunit.de" + +PHPUNIT_PHAR="${P}.phar" + +SRC_URI="http://dev.gentoo.org/~olemarkus/phpunit/${PHPUNIT_PHAR}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~hppa x86" +IUSE="" + +DEPEND="dev-lang/php:*[phar,xml]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + return +} + +src_install() { + insinto /usr/share/php/phpunit + insopts -m755 + newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar + dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit +} + +pkg_postinst() { + elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features." + elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"." +} |