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

Diff of /eclass/enlightenment.eclass

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

Revision 1.16 Revision 1.17
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
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.16 2004/02/23 05:56:08 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.17 2004/03/30 16:18:51 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7ECLASS=enlightenment 7ECLASS=enlightenment
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
58 58
59enlightenment_src_compile() { 59enlightenment_src_compile() {
60 [ ! -z "${EHACKAUTOGEN}" ] && sed -i 's:.*configure.*::' autogen.sh 60 [ ! -z "${EHACKAUTOGEN}" ] && sed -i 's:.*configure.*::' autogen.sh
61 env \ 61 env \
62 PATH="${T}:${PATH}" \ 62 PATH="${T}:${PATH}" \
63 WANT_AUTOCONF_2_5=1 \
64 NOCONFIGURE=yes \ 63 NOCONFIGURE=yes \
65 USER=blah \ 64 USER=blah \
66 ./autogen.sh \ 65 ./autogen.sh \
67 || enlightenment_die "autogen failed" 66 || enlightenment_die "autogen failed"
68 if [ ! -z "${EHACKLIBLTDL}" ] ; then 67 if [ ! -z "${EHACKLIBLTDL}" ] ; then
69 cd libltdl 68 cd libltdl
70 env WANT_AUTOCONF_2_5=1 autoconf || enlightenment_die "autogen in libltdl failed" 69 autoconf || enlightenment_die "autogen in libltdl failed"
71 cd .. 70 cd ..
72 fi 71 fi
73 econf ${MY_ECONF} || enlightenment_die "econf failed" 72 econf ${MY_ECONF} || enlightenment_die "econf failed"
74 emake || enlightenment_die "emake failed" 73 emake || enlightenment_die "emake failed"
75 [ `use doc` ] && [ -x ./gendoc ] && { ./gendoc || enlightenment_die "gendoc failed" ; } 74 use doc && [ -x ./gendoc ] && { ./gendoc || enlightenment_die "gendoc failed" ; }
76} 75}
77 76
78enlightenment_src_install() { 77enlightenment_src_install() {
79 make install DESTDIR=${D} || enlightenment_die 78 make install DESTDIR=${D} || enlightenment_die
80 find ${D} -name CVS -type d -exec rm -rf '{}' \; 2>/dev/null 79 find ${D} -name CVS -type d -exec rm -rf '{}' \; 2>/dev/null
81 dodoc AUTHORS ChangeLog NEWS README TODO ${EDOCS} 80 dodoc AUTHORS ChangeLog NEWS README TODO ${EDOCS}
82 [ `use doc` ] && [ -d doc ] && dohtml -r doc/* 81 use doc && [ -d doc ] && dohtml -r doc/*
83} 82}
84 83
85enlightenment_pkg_postinst() { 84enlightenment_pkg_postinst() {
86 enlightenment_warning_msg 85 enlightenment_warning_msg
87} 86}

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20