summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-21 13:10:10 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-21 13:10:10 +0000
commitb4c5b0014ee2bcb816960d108a2d3b68cbe7b115 (patch)
treee92c9d18f7c9a1945da77336224555179b03ffbd /eclass
parentFixed USE flag dependencies and configure options. (diff)
downloadgentoo-2-b4c5b0014ee2bcb816960d108a2d3b68cbe7b115.tar.gz
gentoo-2-b4c5b0014ee2bcb816960d108a2d3b68cbe7b115.tar.bz2
gentoo-2-b4c5b0014ee2bcb816960d108a2d3b68cbe7b115.zip
warning message
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass21
1 files changed, 19 insertions, 2 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index f7bdf380b17b..bf01fbe6a9fc 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,13 +1,13 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.2 2003/10/14 02:33:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.3 2003/10/21 13:10:10 vapier Exp $
#
# Author: vapier@gentoo.org
ECLASS=enlightenment
INHERITED="$INHERITED $ECLASS"
-EXPORT_FUNCTIONS src_unpack src_compile src_install
+EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
@@ -23,6 +23,19 @@ DEPEND="nls? ( sys-devel/gettext )"
S=${WORKDIR}/${PN}
+enlightenment_warning_msg() {
+ if [ "${PV/2003}" != "${PV}" ] ; then
+ ewarn "Please do not contact the E team about bugs in Gentoo."
+ ewarn "Only contact vapier@gentoo.org via e-mail or bugzilla."
+ ewarn "Remember, this stuff is CVS only code so dont cry when"
+ ewarn "I break you :)."
+ fi
+}
+
+enlightenment_pkg_setup() {
+ enlightenment_warning_msg
+}
+
# the stupid gettextize script prevents non-interactive mode, so we hax it
gettext_modify() {
use nls || return 0
@@ -58,3 +71,7 @@ enlightenment_src_install() {
dodoc ${EDOCS}
[ -d doc ] && dohtml -r doc/*
}
+
+enlightenment_pkg_postinst() {
+ enlightenment_warning_msg
+}