/[gentoo-x86]/eclass/kde-parent.eclass
Gentoo

Contents of /eclass/kde-parent.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jul 18 18:35:30 2002 UTC (12 years, 3 months ago) by danarmak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove kde-child,parent.eclass since no ebuilds use them anymore. avoid cluttering.

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Dan Armak <danarmak@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/eclass/kde-parent.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
5 # Inherited by parent ebuilds, which must set their list of $CHILDREN before inheriting
6 # Make sure to inherit this eclass LAST, for the empty functions below to take effect
7 ECLASS=kde-parent
8 INHERITED="$INHERITED $ECLASS"
9
10 # Don't do anything if we're inheriting from a child ebuild
11 if [ -z "$PARENT" ]; then
12
13 debug-print "$ECLASS: beginning, CHILDREN=$CHILDREN"
14
15 kde-parent_src_unpack() { true; }
16 kde-parent_src_compile() { true; }
17 kde-parent_src_install() { true; }
18 kde-parent_pkg_preinst() { true; }
19 kde-parent_pkg_postinst() { true; }
20 kde-parent_pkg_prerm() { true; }
21 kde-parent_pkg_postrm() { true; }
22
23 RDEPEND="$RDEPEND $CHILDREN"
24
25 EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_prerm pkg_postrm
26
27 else
28 debug-print "$ECLASS: \$PARENT set (=$PARENT), child mode assumed, no action taken"
29 fi

  ViewVC Help
Powered by ViewVC 1.1.20