diff options
author | Ian Leitch <port001@gentoo.org> | 2005-01-05 14:39:38 +0000 |
---|---|---|
committer | Ian Leitch <port001@gentoo.org> | 2005-01-05 14:39:38 +0000 |
commit | e52bd5702308800e0a6611bb5e41b9202e1ca7da (patch) | |
tree | 2970c00a978382fd0197e5757fb187105fb62866 /eclass | |
parent | Added to ~amd64, bug #76482 (Manifest recommit) (diff) | |
download | gentoo-2-e52bd5702308800e0a6611bb5e41b9202e1ca7da.tar.gz gentoo-2-e52bd5702308800e0a6611bb5e41b9202e1ca7da.tar.bz2 gentoo-2-e52bd5702308800e0a6611bb5e41b9202e1ca7da.zip |
Updates for nsxml
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/aolserver.eclass | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/eclass/aolserver.eclass b/eclass/aolserver.eclass index a94c3e9ae743..0bbc409b6d4a 100644 --- a/eclass/aolserver.eclass +++ b/eclass/aolserver.eclass @@ -1,13 +1,13 @@ # 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.2 2005/01/05 14:06:39 port001 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/aolserver.eclass,v 1.3 2005/01/05 14:39:38 port001 Exp $ # Authors: # Ian Leitch <port001@gentoo.org> ECLASS=aolserver INHERITED="$INHERITED $ECLASS" -EXPORT_FUNCTIONS src_compile src_install pkg_postinst +EXPORT_FUNCTIONS pkg_setup src_compile src_install pkg_postinst DEPEND="$DEPEND www-servers/aolserver" RDEPEND="$RDEPEND www-servers/aolserver" @@ -16,15 +16,21 @@ NS_CONF="/usr/share/aolserver" # /include/ is implied by the Makefile NS_BASE="/usr/lib/aolserver" # For nsxml -LIBXML2=/usr -LIBXSLT=/usr +LIBXML2="/usr" +LIBXSLT="" -IUSE="" SRC_URI="mirror://sourceforge/aolserver/${P}.tar.gz" HOMEPAGE="http://www.aolserver.com" LICENSE="MPL-1.1" SLOT="0" +aolserver_pkg_setup() { + + if use xslt; then + LIBXSLT="/usr/" + fi +} + aolserver_src_compile() { emake NSBUILD=1 INST=${NS_CONF} LIBXML2=${LIBXML2} LIBXSLT=${LIBXSLT} || die "emake failed" |