blob: cd88bbe39195189046c98f1e15e3beb46637cce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.16 2003/11/04 00:49:01 vapier Exp $
inherit flag-o-matic
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"
DEPEND="virtual/glibc"
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
}
|