summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlebarjack <francois.perichon@univ-lille2.fr>2010-04-21 07:51:56 +0000
committerlebarjack <francois.perichon@univ-lille2.fr>2010-04-21 07:51:56 +0000
commit12c38223c1baee391746f020d7d08ad5574d58ab (patch)
treed541f90f7d050a26efe176afa863dbe4d3d10e0b /dev-php/awl/awl-0.43.ebuild
parentsys-kernel/ccs-sources: TOMOYO and genpatch version bumped. (diff)
downloadsunrise-12c38223c1baee391746f020d7d08ad5574d58ab.tar.gz
sunrise-12c38223c1baee391746f020d7d08ad5574d58ab.tar.bz2
sunrise-12c38223c1baee391746f020d7d08ad5574d58ab.zip
dev-php/awl: New version for the awl library
svn path=/sunrise/; revision=10475
Diffstat (limited to 'dev-php/awl/awl-0.43.ebuild')
-rw-r--r--dev-php/awl/awl-0.43.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/awl/awl-0.43.ebuild b/dev-php/awl/awl-0.43.ebuild
new file mode 100644
index 000000000..563281ed4
--- /dev/null
+++ b/dev-php/awl/awl-0.43.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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[pcre,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
+
+ 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"`
+}