From 0dfd4948f6b5b2338b16a67897177d3d63a77b35 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Thu, 8 Feb 2007 19:39:29 +0000 Subject: new snapshot ebuilds svn path=/overlay/; revision=17 --- .../mod_transform-yacs-0.6.0_pre20070208.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 www-apache/mod_transform-yacs/mod_transform-yacs-0.6.0_pre20070208.ebuild (limited to 'www-apache/mod_transform-yacs/mod_transform-yacs-0.6.0_pre20070208.ebuild') diff --git a/www-apache/mod_transform-yacs/mod_transform-yacs-0.6.0_pre20070208.ebuild b/www-apache/mod_transform-yacs/mod_transform-yacs-0.6.0_pre20070208.ebuild new file mode 100644 index 0000000..b74eb42 --- /dev/null +++ b/www-apache/mod_transform-yacs/mod_transform-yacs-0.6.0_pre20070208.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc5-r2.ebuild,v 1.2 2005/08/03 01:38:36 trapni Exp $ + +inherit flag-o-matic multilib + +DESCRIPTION="mod_transform plugins for communicating with a YaCS server" +HOMEPAGE="http://battousak.mylair.de/yacs/" +SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0.6" +KEYWORDS="~amd64 ~x86" +IUSE="debug multislot" + +RDEPEND=">=www-apache/mod_transform-0.7.0_pre20070204 + >=dev-libs/libyacsclient-${PV} + >=dev-libs/libyacsutil-${PV}" + +DEPEND="${RDEPEND}" + +BASE_DIR=${BASE_DIR:-/usr} + +S="${WORKDIR}/yacs-${PV}" + +src_compile() { + use debug && append-flags -O0 -g3 + use debug || append-flags -DNDEBUG=1 + + useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}" + + einfo "Configuring for prefix ${BASE_DIR} ..." + + ./autogen.sh || die "autogen.sh failed" + + ./configure \ + --prefix="${BASE_DIR}" \ + --host="${CHOST}" \ + --libdir="${BASE_DIR}/$(get_libdir)" \ + --without-libyacsutil \ + --disable-server \ + --without-libyacsclient \ + || die "./configure failed" + + cd clients/${PN/yacs/plugins} || die + + emake || die "make failed" +} + +src_install() { + cd clients/${PN/yacs/plugins} || die + + make install DESTDIR="${D}" || die + + # cleanup unwanted files from plugin/module dirs + find ${D}/usr/lib/apache2/modules/mod_transform \( -name '*.a' -o -name '*.la' \) -exec rm -f {} \; + +# dodoc AUTHORS ChangeLog* NEWS README* TODO + + true +} + +# vim:ai:noet:ts=4:nowrap -- cgit v1.2.3-18-g5258