/[gentoo-x86]/dev-php/awl/awl-0.52.ebuild
Gentoo

Contents of /dev-php/awl/awl-0.52.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jun 26 09:36:20 2012 UTC (2 years, 2 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Bump

(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)

1 patrick 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-php/awl/awl-0.51-r1.ebuild,v 1.1 2012/03/22 00:20:11 patrick Exp $
4    
5     EAPI=2
6    
7     inherit depend.php php-lib-r1
8    
9     DESCRIPTION="Andrew McMillan's web libraries: A collection of generic classes
10     used by the davical calendar server"
11     HOMEPAGE="http://andrew.mcmillan.net.nz/projects/awl"
12     SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16     KEYWORDS="~amd64 ~x86"
17     IUSE="doc"
18    
19     DEPEND="dev-lang/php[pdo,postgres,xml]
20     doc? ( dev-php/PEAR-PhpDocumentor )"
21     RDEPEND="${DEPEND}"
22    
23     need_php5
24    
25     src_compile() {
26     if use doc ; then
27     ebegin "Generating documentation"
28     phpdoc -c "docs/api/phpdoc.ini" || die "Documentation failed to build"
29     fi
30     }
31    
32     src_install() {
33     local docs="debian/README.Debian debian/changelog"
34     dodoc-php ${docs} || die "dodoc failed"
35    
36     if use doc ; then
37     dohtml -r "docs/api/" || die "dohtml failed"
38     fi
39    
40     php-lib-r1_src_install . dba/* inc/* scripts/*
41     }

  ViewVC Help
Powered by ViewVC 1.1.20