# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /cvsroot/devel/gentoo-x86/securecirt/libprelude-cvs/libprelude-cvs-0.8.ebuild,v 1.1.1.1 2003/05/16 00:44:51 michael Exp $ IUSE="ssl doc" inherit eutils ECVS_SERVER="cvs.prelude-ids.org:/cvsroot/prelude" ECVS_MODULE="libprelude" 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 Alert Library 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=" ssl? ( dev-libs/openssl ) doc? ( dev-util/gtk-doc ) " RDEPEND="${DEPEND}" src_compile() { local myconf export WANT_AUTOCONF_2_5="1" export WANT_AUTOMAKE_1_6="1" use ssl && myconf="${myconf} --enable-openssl" || myconf="${myconf} --disable-openssl" 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 }