diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-07-11 15:08:07 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-07-11 15:08:07 +0000 |
commit | 5ae303cb909c12d4905541dd2b1352e4cedb12a5 (patch) | |
tree | e613101366ec6305dbb6b6150d8dc0cf461f8b4c /eclass/aolserver.eclass | |
parent | Update to support selinux USE flag (blame spb). (diff) | |
download | gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.gz gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.bz2 gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.zip |
QA: Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/aolserver.eclass')
-rw-r--r-- | eclass/aolserver.eclass | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/aolserver.eclass b/eclass/aolserver.eclass index d3177abf42a5..e23cd7962fbc 100644 --- a/eclass/aolserver.eclass +++ b/eclass/aolserver.eclass @@ -1,13 +1,14 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/aolserver.eclass,v 1.7 2005/07/06 20:23:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/aolserver.eclass,v 1.8 2005/07/11 15:08:06 swegener Exp $ # Authors: # Ian Leitch <port001@gentoo.org> +EXPORT_FUNCTIONS src_compile src_install pkg_postinst -DEPEND="$DEPEND www-servers/aolserver" -RDEPEND="$RDEPEND www-servers/aolserver" +DEPEND="www-servers/aolserver" +RDEPEND="${DEPEND}" NS_CONF="/usr/share/aolserver" # /include/ is implied by the Makefile NS_BASE="/usr/lib/aolserver" @@ -17,12 +18,12 @@ HOMEPAGE="http://www.aolserver.com" LICENSE="MPL-1.1" SLOT="0" -src_compile() { +aolserver_src_compile() { emake NSBUILD=1 INST=${NS_CONF} AOLSERVER=${NS_CONF} ${MAKE_FLAGS} || die "emake failed" } -src_install() { +aolserver_src_install() { find ${S} -type d -name CVS -prune | xargs rm -rf @@ -46,7 +47,7 @@ src_install() { done } -pkg_postinst() { +aolserver_pkg_postinst() { echo einfo "To enable the use of ${PN} you must add the module to your AOLServer configuration" |