# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-3.70-r2.ebuild,v 1.20 2004/07/15 01:28:56 agriffis Exp $ inherit flag-o-matic eutils DESCRIPTION="A network programming library in C++" HOMEPAGE="http://open.nit.ca/wiki/?page=WvStreams" SRC_URI="http://open.nit.ca/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 sparc alpha amd64 hppa" IUSE="" DEPEND="virtual/libc" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PV}-gcc3.patch if has_version '>=dev-libs/openssl-0.9.7' ; then epatch ${FILESDIR}/${PV}-openssl.patch fi } src_compile() { [ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" ] && append-flags -fPIC append-flags -Wno-deprecated emake -j1 || die } src_install() { make PREFIX=${D}/usr install || die }