diff options
author | Ian Leitch <port001@gentoo.org> | 2005-02-27 22:40:21 +0000 |
---|---|---|
committer | Ian Leitch <port001@gentoo.org> | 2005-02-27 22:40:21 +0000 |
commit | 87f74fc38e796db98cb1af2434c7d396933e89e5 (patch) | |
tree | 217bb3dc233dec47cc837656e1d33763fe7ab28d /eclass | |
parent | fix dependencies; #83325 (diff) | |
download | gentoo-2-87f74fc38e796db98cb1af2434c7d396933e89e5.tar.gz gentoo-2-87f74fc38e796db98cb1af2434c7d396933e89e5.tar.bz2 gentoo-2-87f74fc38e796db98cb1af2434c7d396933e89e5.zip |
Install libs if available. Install all modules in TCL_MODS, same goes for DOCS.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/aolserver.eclass | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/eclass/aolserver.eclass b/eclass/aolserver.eclass index 8dcbe88883e3..7a3938c87116 100644 --- a/eclass/aolserver.eclass +++ b/eclass/aolserver.eclass @@ -1,6 +1,6 @@ # 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.4 2005/02/12 02:50:24 port001 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/aolserver.eclass,v 1.5 2005/02/27 22:40:21 port001 Exp $ # Authors: # Ian Leitch <port001@gentoo.org> @@ -21,7 +21,7 @@ SLOT="0" src_compile() { - emake NSBUILD=1 INST=${NS_CONF} ${MAKE_FLAGS} || die "emake failed" + emake NSBUILD=1 INST=${NS_CONF} AOLSERVER=${NS_CONF} ${MAKE_FLAGS} || die "emake failed" } src_install() { @@ -29,7 +29,23 @@ src_install() { find ${S} -type d -name CVS -prune | xargs rm -rf into ${NS_BASE} - dobin ${S}/${PN}.so + + if [[ -e "${S}/${PN}.so" ]] ; then + dobin ${S}/${PN}.so + fi + + if [[ -e "${S}/lib${PN}.so" ]] ; then + dolib.so ${S}/lib${PN}.so + fi + + for mod in ${TCL_MODS} ; do + insinto /usr/lib/aolserver/modules/tcl + doins ${mod} + done + + for doc in ${DOCS} ; do + dodoc ${doc} + done } pkg_postinst() { |