/[gentoo-x86]/eclass/php-ext-pecl-r1.eclass
Gentoo

Diff of /eclass/php-ext-pecl-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.5 2007/03/05 01:50:47 chtekk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/php-ext-pecl-r1.eclass,v 1.6 2007/08/31 09:42:34 jokey Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Author: Luca Longinotti <chtekk@gentoo.org> 6# Author: Luca Longinotti <chtekk@gentoo.org>
7# Maintained by the PHP Team <php-bugs@gentoo.org> 7# Maintained by the PHP Team <php-bugs@gentoo.org>
8# 8#
42 has_php 42 has_php
43 php-ext-source-r1_src_install 43 php-ext-source-r1_src_install
44 44
45 # Those two are always present 45 # Those two are always present
46 dodoc-php "${WORKDIR}/package.xml" CREDITS 46 dodoc-php "${WORKDIR}/package.xml" CREDITS
47
48 # You can add more docs to be installed by defining DOCS variable in ebuild
49 for doc in ${DOCS} ; do
50 [[ -s ${doc} ]] && dodoc-php ${doc}
51 done
52
53 # To install examples if the package supplies them, just add examples to IUSE
54 if has examples ${IUSE} && use examples ; then
55 insinto /usr/share/doc/${CATEGORY}/${PF}/examples
56 doins -r examples/*
57 fi
47} 58}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20