/[gentoo-x86]/eclass/gnustep-base.eclass
Gentoo

Diff of /eclass/gnustep-base.eclass

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

Revision 1.7 Revision 1.8
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/gnustep-base.eclass,v 1.7 2008/09/04 08:04:47 opfer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.8 2008/10/03 14:59:42 voyageur Exp $
4 4
5inherit eutils flag-o-matic 5inherit eutils flag-o-matic
6 6
7# Inner gnustep eclass, should only be inherited directly by gnustep-base 7# Inner gnustep eclass, should only be inherited directly by gnustep-base
8# packages 8# packages
55 GNUmakefile 55 GNUmakefile
56 eend $? 56 eend $?
57 fi 57 fi
58} 58}
59 59
60gnustep-base_src_compile() { 60gnustep-base_src_configure() {
61 egnustep_env 61 egnustep_env
62 if [[ -x ./configure ]] ; then 62 if [[ -x ./configure ]] ; then
63 econf || die "configure failed" 63 econf || die "configure failed"
64 fi 64 fi
65}
66
67gnustep-base_src_compile() {
68 egnustep_env
69 case ${EAPI:-0} in
70 0|1) gnustep-base_src_configure ;;
71 esac
72
65 egnustep_make 73 egnustep_make
66} 74}
67 75
68gnustep-base_src_install() { 76gnustep-base_src_install() {
69 egnustep_env 77 egnustep_env
210 218
211 exeinto ${GNUSTEP_SYSTEM_TOOLS}/Gentoo 219 exeinto ${GNUSTEP_SYSTEM_TOOLS}/Gentoo
212 doexe "${T}"/${cfile} 220 doexe "${T}"/${cfile}
213} 221}
214 222
223case ${EAPI:-0} in
215EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst 224 0|1) EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst ;;
225 2) EXPORT_FUNCTIONS pkg_setup src_unpack src_configure src_compile src_install pkg_postinst ;;
226esac

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20