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

Diff of /eclass/enlightenment.eclass

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

Revision 1.26 Revision 1.27
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.26 2004/10/21 19:59:40 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.27 2004/10/21 20:07:24 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"
9 9
10EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst 10EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
11 11
12ECVS_STATE="release" 12ECVS_STATE="release"
13if [ "${PV/9999}" != "${PV}" ] ; then 13if [ "${PV/9999}" != "${PV}" ] ; then
14 ECVS_MODULE="${ECVS_MODULE:-${PN}}" 14 if [ -z "${ECVS_MODULE}" ] ; then
15 ECVS_MODULE="${PN}"
16 if [ "${CATEGORY/libs}" != "${CATEGORY}" ] ; then
17 ECVS_MODULE="e17/libs/${PN}"
18 else
19 ECVS_MODULE="e17/apps/${PN}"
20 fi
21 fi
15 ECVS_SERVER="cvs.sourceforge.net:/cvsroot/enlightenment" 22 ECVS_SERVER="${ECVS_SERVER:-cvs.sourceforge.net:/cvsroot/enlightenment}"
16 ECVS_STATE="live" 23 ECVS_STATE="live"
17 inherit cvs 24 inherit cvs
18elif [ "${PV/.200?????/}" != "${PV}" ] ; then 25elif [ "${PV/.200?????/}" != "${PV}" ] ; then
19 ECVS_STATE="snap" 26 ECVS_STATE="snap"
20fi 27fi
35DEPEND="doc? ( app-doc/doxygen ) 42DEPEND="doc? ( app-doc/doxygen )
36 >=sys-devel/autoconf-2.58-r1" 43 >=sys-devel/autoconf-2.58-r1"
37RDEPEND="nls? ( sys-devel/gettext )" 44RDEPEND="nls? ( sys-devel/gettext )"
38 45
39case ${ECVS_STATE} in 46case ${ECVS_STATE} in
40 release) S=${WORKDIR}/${P};; 47 release) S=${WORKDIR}/${P};;
41 snap|live) S=${WORKDIR}/${PN};; 48 snap) S=${WORKDIR}/${PN};;
49 live) S=${WORKDIR}/${ECVS_MODULE};;
42esac 50esac
43 51
44enlightenment_warning_msg() { 52enlightenment_warning_msg() {
45 if [ "${PV/200}" != "${PV}" ] ; then 53 if [ "${PV/200}" != "${PV}" ] ; then
46 ewarn "Please do not contact the E team about bugs in Gentoo." 54 ewarn "Please do not contact the E team about bugs in Gentoo."

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20