summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlebarjack <francois.perichon@univ-lille2.fr>2009-04-22 13:35:41 +0000
committerlebarjack <francois.perichon@univ-lille2.fr>2009-04-22 13:35:41 +0000
commit91a080d1460ba652bad5a8473ea831985b4b3f80 (patch)
tree5f29bd85a17af72a669786c355403c69b092028c /dev-php/awl/awl-0.36.ebuild
parentsys-libs/pcsc-perl: New ebuild for bug 142036 (diff)
downloadsunrise-91a080d1460ba652bad5a8473ea831985b4b3f80.tar.gz
sunrise-91a080d1460ba652bad5a8473ea831985b4b3f80.tar.bz2
sunrise-91a080d1460ba652bad5a8473ea831985b4b3f80.zip
dev-php/awl: Version bump to 0.36
svn path=/sunrise/; revision=8382
Diffstat (limited to 'dev-php/awl/awl-0.36.ebuild')
-rw-r--r--dev-php/awl/awl-0.36.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-php/awl/awl-0.36.ebuild b/dev-php/awl/awl-0.36.ebuild
new file mode 100644
index 000000000..1a797812f
--- /dev/null
+++ b/dev-php/awl/awl-0.36.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils 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/awl/awl_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="dev-lang/php[pcre,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"
+ 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"`
+}