diff options
author | 2008-06-23 11:21:20 +0000 | |
---|---|---|
committer | 2008-06-23 11:21:20 +0000 | |
commit | f01cdaf2f0e44ea073a6f255fe85ec15fa2501bf (patch) | |
tree | d0972f1d391c7352b7efb6f904bf688f7103d8ce /dev-php/libawl-php/libawl-php-0.29.ebuild | |
parent | media-tv/em28xx-new: Remove redundant directory change in src_compile, src_co... (diff) | |
download | sunrise-f01cdaf2f0e44ea073a6f255fe85ec15fa2501bf.tar.gz sunrise-f01cdaf2f0e44ea073a6f255fe85ec15fa2501bf.tar.bz2 sunrise-f01cdaf2f0e44ea073a6f255fe85ec15fa2501bf.zip |
dev-php/libawl-php: New ebuild for bug 229025 - (initial work by Cory Coager <ccoager@gmail.com>)
svn path=/sunrise/; revision=6353
Diffstat (limited to 'dev-php/libawl-php/libawl-php-0.29.ebuild')
-rw-r--r-- | dev-php/libawl-php/libawl-php-0.29.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-php/libawl-php/libawl-php-0.29.ebuild b/dev-php/libawl-php/libawl-php-0.29.ebuild new file mode 100644 index 000000000..d306656ac --- /dev/null +++ b/dev-php/libawl-php/libawl-php-0.29.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils php-lib-r1 + +DESCRIPTION="Andrew McMillan's web libraries: A collection of generic classes +used by the davical calendar server" +HOMEPAGE="http://rscds.sourceforge.net/" +SRC_URI="mirror://sourceforge/rscds/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-php/PEAR-PhpDocumentor )" +RDEPEND="${DEPEND}" + +need_php5 + +pkg_setup() { + require_php_with_use pcre postgres xml +} + +src_compile() { + if use doc ; then + ebegin "Generating documentation" + phpdoc -c "docs/api/phpdoc.ini" + eend $? || 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 + + insinto /usr/share/awl + doins -r dba || die "doins failed" + + php-lib-r1_src_install ./inc `find ./inc -type f -print | sed -e "s|./inc||g"` +} |