| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/gnome2-utils.eclass,v 1.20 2011/01/20 23:50:49 abcd Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.21 2011/01/31 17:03:45 eva Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # gnome2-utils.eclass |
6 | # gnome2-utils.eclass |
| 7 | # |
7 | # |
| 8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
| … | |
… | |
| 10 | # |
10 | # |
| 11 | # Maintained by Gentoo's GNOME herd <gnome@gentoo.org> |
11 | # Maintained by Gentoo's GNOME herd <gnome@gentoo.org> |
| 12 | # |
12 | # |
| 13 | |
13 | |
| 14 | case "${EAPI:-0}" in |
14 | case "${EAPI:-0}" in |
| 15 | 0|1|2|3) ;; |
15 | 0|1|2|3|4) ;; |
| 16 | *) die "EAPI=${EAPI} is not supported" ;; |
16 | *) die "EAPI=${EAPI} is not supported" ;; |
| 17 | esac |
17 | esac |
| 18 | |
18 | |
| 19 | # Path to gconftool-2 |
19 | # Path to gconftool-2 |
| 20 | : ${GCONFTOOL_BIN:="/usr/bin/gconftool-2"} |
20 | : ${GCONFTOOL_BIN:="/usr/bin/gconftool-2"} |