# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /cvsroot/devel/gentoo-x86/securecirt/prelude-nids-cvs/prelude-nids-cvs-0.8.ebuild,v 1.2 2003/05/18 18:14:24 michael Exp $ IUSE="doc" inherit eutils ECVS_SERVER="cvs.prelude-ids.org:/cvsroot/prelude" ECVS_MODULE="prelude-nids" ECVS_BRANCH="${ECVS_MODULE}-`echo ${PV} | sed s:\\\.:-:g`" ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_MODULE}" inherit cvs S=${WORKDIR}/${ECVS_MODULE} #echo ${ECVS_BRANCH} DESCRIPTION="Prelude NIDS module This ebuild will fetch the newest cvs sources from the cvs-server." HOMEPAGE="http://www.prelude-ids.org" SLOT="0" KEYWORDS="x86" LICENSE="GPL-2" #newdepend "" DEPEND=" securecirt/libprelude-cvs doc? ( dev-util/gtk-doc ) " RDEPEND="${DEPEND}" src_compile() { local myconf export WANT_AUTOCONF_2_5="1" export WANT_AUTOMAKE_1_6="1" export MAKEOPTS="" # Doesn't compile if you using make -j use doc && myconf="${myconf} --enable-gtk-doc" || myconf="${myconf} --disable-gtk-doc" aclocal -I /usr/share/aclocal autoconf autoheader libtoolize -c --force --ltdl --automake automake --gnu -a -c cd libltdl mv configure.in configure.in.tmp echo "AC_PREREQ(2.50)" > configure.in cat configure.in.tmp >> configure.in rm -f configure.in.tmp aclocal -I /usr/share/aclocal autoconf autoheader libtoolize -c --force --ltdl --automake automake --gnu -a -c cd .. econf ${myconf} # || die emake || die } src_install () { make DESTDIR=${D} install || die }