diff options
Diffstat (limited to 'net-analyzer/ssldump/ssldump-0.9.ebuild')
-rw-r--r-- | net-analyzer/ssldump/ssldump-0.9.ebuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/net-analyzer/ssldump/ssldump-0.9.ebuild b/net-analyzer/ssldump/ssldump-0.9.ebuild index d4c060cc9c39..d6f3d71746c3 100644 --- a/net-analyzer/ssldump/ssldump-0.9.ebuild +++ b/net-analyzer/ssldump/ssldump-0.9.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9.ebuild,v 1.1 2003/05/19 21:36:26 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9.ebuild,v 1.1.1.1 2005/11/30 10:12:44 chriswhite Exp $ + +inherit gnuconfig eutils IUSE="ssl" @@ -11,22 +13,26 @@ SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz" HOMEPAGE="http://www.rtfm.com/ssldump/" SLOT="0" -KEYWORDS="x86" +KEYWORDS="amd64 ~ppc sparc x86" LICENSE="GPL-2" -DEPEND=">=net-libs/libpcap-0.6.1 +DEPEND="virtual/libpcap ssl? ( >=dev-libs/openssl-0.6.9 )" +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${P}-libpcap-header.patch +} src_compile() { - local myconf + gnuconfig_update - use ssl || myconf="--without-crypto" - econf ${myconf} || die + econf `use_with ssl crypto` || die emake || die } -src_install() { +src_install() { into /usr dosbin ssldump doman ssldump.1 |