| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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/fox.eclass,v 1.2 2005/07/06 20:20:03 agriffis Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.3 2005/07/06 20:23:20 agriffis Exp $ |
| 4 | |
4 | |
| 5 | # fox eclass |
5 | # fox eclass |
| 6 | # |
6 | # |
| 7 | # This eclass allows building SLOT-able FOX Toolkit installations |
7 | # This eclass allows building SLOT-able FOX Toolkit installations |
| 8 | # (x11-libs/fox: headers, libs, and docs), which are by design |
8 | # (x11-libs/fox: headers, libs, and docs), which are by design |
| … | |
… | |
| 29 | # |
29 | # |
| 30 | # Some concepts borrowed from gst-plugins and gtk-sharp-component eclasses |
30 | # Some concepts borrowed from gst-plugins and gtk-sharp-component eclasses |
| 31 | |
31 | |
| 32 | inherit eutils libtool |
32 | inherit eutils libtool |
| 33 | |
33 | |
| 34 | INHERITED="$INHERITED $ECLASS" |
|
|
| 35 | |
34 | |
| 36 | FOX_PV="${FOX_PV:-${PV}}" |
35 | FOX_PV="${FOX_PV:-${PV}}" |
| 37 | PVP=(${FOX_PV//[-\._]/ }) |
36 | PVP=(${FOX_PV//[-\._]/ }) |
| 38 | FOXVER="${PVP[0]}.${PVP[1]}" |
37 | FOXVER="${PVP[0]}.${PVP[1]}" |
| 39 | |
38 | |