| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 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/clutter.eclass,v 1.3 2011/02/07 16:50:42 nirbheek Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/clutter.eclass,v 1.4 2011/07/08 11:35:01 ssuominen Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # @ECLASS: clutter.eclass |
6 | # @ECLASS: clutter.eclass |
| 7 | # @MAINTAINER: GNOME Herd <gnome@gentoo.org> |
7 | # @MAINTAINER: GNOME Herd <gnome@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 50 | clutter_src_install() { |
50 | clutter_src_install() { |
| 51 | emake DESTDIR="${D}" install || die "emake install failed" |
51 | emake DESTDIR="${D}" install || die "emake install failed" |
| 52 | dodoc ${DOCS} || die "dodoc failed" |
52 | dodoc ${DOCS} || die "dodoc failed" |
| 53 | |
53 | |
| 54 | # examples |
54 | # examples |
| 55 | if hasq examples ${IUSE} && use examples; then |
55 | if has examples ${IUSE} && use examples; then |
| 56 | insinto /usr/share/doc/${PF}/examples |
56 | insinto /usr/share/doc/${PF}/examples |
| 57 | |
57 | |
| 58 | # We use eval to be able to use globs and other bash expressions |
58 | # We use eval to be able to use globs and other bash expressions |
| 59 | for example in $(eval echo ${EXAMPLES}); do |
59 | for example in $(eval echo ${EXAMPLES}); do |
| 60 | # If directory |
60 | # If directory |