| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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/enlightenment.eclass,v 1.38 2004/12/27 14:23:14 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.39 2005/01/08 08:54:35 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: vapier@gentoo.org |
5 | # Author: vapier@gentoo.org |
|
|
6 | |
|
|
7 | inherit eutils |
| 6 | |
8 | |
| 7 | ECLASS=enlightenment |
9 | ECLASS=enlightenment |
| 8 | INHERITED="$INHERITED $ECLASS" |
10 | INHERITED="$INHERITED $ECLASS" |
| 9 | |
11 | |
| 10 | EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst |
12 | EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst |
| … | |
… | |
| 106 | cd libltdl |
108 | cd libltdl |
| 107 | autoconf || enlightenment_die "autogen in libltdl failed" |
109 | autoconf || enlightenment_die "autogen in libltdl failed" |
| 108 | cd .. |
110 | cd .. |
| 109 | fi |
111 | fi |
| 110 | fi |
112 | fi |
|
|
113 | epunt_cxx |
| 111 | econf ${MY_ECONF} || enlightenment_die "econf failed" |
114 | econf ${MY_ECONF} || enlightenment_die "econf failed" |
| 112 | emake || enlightenment_die "emake failed" |
115 | emake || enlightenment_die "emake failed" |
| 113 | use doc && [[ -x ./gendoc ]] && { ./gendoc || enlightenment_die "gendoc failed" ; } |
116 | use doc && [[ -x ./gendoc ]] && { ./gendoc || enlightenment_die "gendoc failed" ; } |
| 114 | } |
117 | } |
| 115 | |
118 | |