# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/pavuk-0.9.34-r2.ebuild,v 1.1 2009/04/03 14:54:56 patrick Exp $ EAPI=4 inherit eutils cvs autotools-utils DESCRIPTION="Web spider and website mirroring tool" HOMEPAGE="http://www.pavuk.org/" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="hammer ipv6 nls pcre profile ssl" DEPEND=">=sys-apps/sed-4 sys-devel/gettext ssl? ( dev-libs/openssl ) pcre? ( dev-libs/libpcre )" RDEPEND="virtual/libintl ssl? ( dev-libs/openssl )" AUTOTOOLS_AUTORECONF=1 AUTOTOOLS_IN_SOURCE_BUILD=1 DOCS=( README CREDITS NEWS AUTHORS BUGS TODO MAILINGLIST wget-pavuk.HOWTO ChangeLog wget-pavuk.HOWTO pavuk_authinfo.sample pavukrc.sample ) ECVS_SERVER="cvs.pavuk.org:/cvsroot/pavuk" ECVS_AUTH="pserver" ECVS_MODULE="pavuk" ECVS_LOCALNAME="${P}" src_unpack() { cvs_src_unpack sed -i 's/^\(ACLOCAL_AMFLAGS[[:space:]]*=[[:space:]]*-I[[:space:]]*\)\$(top_srcdir)\//\1/' "${S}/Makefile.am" } src_configure() { local myeconfargs=( --enable-threads --disable-gtk $(use_enable ssl) $(use_enable nls) $(use_enable ipv6) $(use_enable profile profiling) ) if use pcre; then myeconfargs=($myeconfargs --with-regex=pcre) else myeconfargs=($myeconfargs --with-regex=auto) fi autotools-utils_src_configure }