diff options
author | 2012-03-22 00:20:11 +0000 | |
---|---|---|
committer | 2012-03-22 00:20:11 +0000 | |
commit | 477befd20dec7c29fe9ebc22a4bfebd9befc2c14 (patch) | |
tree | 3f2859029a30369c2f0d91dd89fa090ad41bb505 /dev-php/awl/awl-0.51-r1.ebuild | |
parent | Pyfa only supports wxpython:2.8. Fix dependency, add patch to select correct ... (diff) | |
download | historical-477befd20dec7c29fe9ebc22a4bfebd9befc2c14.tar.gz historical-477befd20dec7c29fe9ebc22a4bfebd9befc2c14.tar.bz2 historical-477befd20dec7c29fe9ebc22a4bfebd9befc2c14.zip |
Bumping to avoid name clashes with sunrise version, no functional changes
Package-Manager: portage-2.2.0_alpha93/cvs/Linux x86_64
Diffstat (limited to 'dev-php/awl/awl-0.51-r1.ebuild')
-rw-r--r-- | dev-php/awl/awl-0.51-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-php/awl/awl-0.51-r1.ebuild b/dev-php/awl/awl-0.51-r1.ebuild new file mode 100644 index 000000000000..ba9346e354b3 --- /dev/null +++ b/dev-php/awl/awl-0.51-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/awl/awl-0.51-r1.ebuild,v 1.1 2012/03/22 00:20:11 patrick Exp $ + +EAPI=2 + +inherit depend.php php-lib-r1 + +DESCRIPTION="Andrew McMillan's web libraries: A collection of generic classes +used by the davical calendar server" +HOMEPAGE="http://andrew.mcmillan.net.nz/projects/awl" +SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="dev-lang/php[pdo,postgres,xml] + doc? ( dev-php/PEAR-PhpDocumentor )" +RDEPEND="${DEPEND}" + +need_php5 + +src_compile() { + if use doc ; then + ebegin "Generating documentation" + phpdoc -c "docs/api/phpdoc.ini" || die "Documentation failed to build" + fi +} + +src_install() { + local docs="debian/README.Debian debian/changelog" + dodoc-php ${docs} || die "dodoc failed" + + if use doc ; then + dohtml -r "docs/api/" || die "dohtml failed" + fi + + php-lib-r1_src_install . dba/* inc/* scripts/* +} |