summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-05-05 07:06:40 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-05-05 07:06:40 +0000
commit247553ee05cfa73c91559f8ed9211867036f8368 (patch)
treeb16e3d964fefa2a8196e378489a5fb767da312a7 /eclass/perl-module.eclass
parentperl post_install and post_remove functions (diff)
downloadgentoo-2-247553ee05cfa73c91559f8ed9211867036f8368.tar.gz
gentoo-2-247553ee05cfa73c91559f8ed9211867036f8368.tar.bz2
gentoo-2-247553ee05cfa73c91559f8ed9211867036f8368.zip
inherits from perl-post for pkg_postinst and pkg_postrm functions
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index c560dc1d0eff..4121f81b7a02 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -1,9 +1,14 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.2 2002/05/05 07:00:38 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.3 2002/05/05 07:06:40 seemant Exp $
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
+
+#first inherit the pkg_postinst() and pkg_postrm() functions
+. /usr/portage/eclass/inherit.eclass || die
+inherit perl-post
+
ECLASS=base
EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm