/[gentoo-x86]/eclass/clutter.eclass
Gentoo

Diff of /eclass/clutter.eclass

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

Revision 1.4 Revision 1.6
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2012 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.4 2011/07/08 11:35:01 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/clutter.eclass,v 1.6 2012/05/02 18:31:42 jdhore Exp $
4 4
5#
6# @ECLASS: clutter.eclass 5# @ECLASS: clutter.eclass
6# @MAINTAINER:
7# @MAINTAINER: GNOME Herd <gnome@gentoo.org> 7# GNOME Herd <gnome@gentoo.org>
8# 8# @AUTHOR:
9# Nirbheek Chauhan <nirbheek@gentoo.org>
9# @BLURB: Sets SRC_URI, LICENSE, etc and exports src_install 10# @BLURB: Sets SRC_URI, LICENSE, etc and exports src_install
10#
11# Authors:
12# Nirbheek Chauhan <nirbheek@gentoo.org>
13#
14 11
15inherit versionator 12inherit versionator
16 13
17HOMEPAGE="http://www.clutter-project.org/" 14HOMEPAGE="http://www.clutter-project.org/"
18 15
21 18
22# All official clutter packages use LGPL-2.1 19# All official clutter packages use LGPL-2.1
23LICENSE="${LICENSE:-LGPL-2.1}" 20LICENSE="${LICENSE:-LGPL-2.1}"
24 21
25# This will be used by all clutter packages 22# This will be used by all clutter packages
26DEPEND="dev-util/pkgconfig" 23DEPEND="virtual/pkgconfig"
27 24
28# @ECLASS-VARIABLE: CLUTTER_LA_PUNT 25# @ECLASS-VARIABLE: CLUTTER_LA_PUNT
29# @DESCRIPTION: 26# @DESCRIPTION:
30# Set to anything except 'no' to remove *all* .la files before installing. 27# Set to anything except 'no' to remove *all* .la files before installing.
31# Not to be used without due consideration, sometimes .la files *are* needed. 28# Not to be used without due consideration, sometimes .la files *are* needed.
43# "examples" USE-flag exists, and is switched on. Bash expressions can be used 40# "examples" USE-flag exists, and is switched on. Bash expressions can be used
44# since the variable is eval-ed before substitution. Empty by default. 41# since the variable is eval-ed before substitution. Empty by default.
45EXAMPLES="${EXAMPLES:-""}" 42EXAMPLES="${EXAMPLES:-""}"
46 43
47# @FUNCTION: clutter_src_install 44# @FUNCTION: clutter_src_install
48# @USAGE: 45# @DESCRIPTION:
49# @DESCRIPTION: Runs emake install, dodoc, and installs examples 46# Runs emake install, dodoc, and installs examples
50clutter_src_install() { 47clutter_src_install() {
51 emake DESTDIR="${D}" install || die "emake install failed" 48 emake DESTDIR="${D}" install || die "emake install failed"
52 dodoc ${DOCS} || die "dodoc failed" 49 dodoc ${DOCS} || die "dodoc failed"
53 50
54 # examples 51 # examples

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

  ViewVC Help
Powered by ViewVC 1.1.20