blob: 72e9a20cb2d6c62b35b5a61794d9c7f1527e91a5 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.9.10-r1.ebuild,v 1.8 2003/06/18 13:56:02 seemant Exp $
IUSE="ssl"
S="${WORKDIR}/${PN}"
DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol"
HOMEPAGE="http://www.openh323.org"
SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
DEPEND="media-libs/speex
>=dev-libs/pwlib-1.3.11-r1
ssl? ( dev-libs/openssl )"
SLOT="0"
LICENSE="MPL-1.1"
KEYWORDS="x86 ppc sparc"
src_compile() {
export PWLIBDIR=/usr/share/pwlib
export OPENH323DIR=${S}
if [ "`use ssl`" ]; then
export OPENSSLFLAG=1
export OPENSSLDIR=/usr
export OPENSSLLIBS="-lssl -lcrypt"
fi
make optshared || die
}
src_install() {
dodir /usr/share/openh323
into /usr
dolib ${S}/lib/lib*
cd ${S}
find ./ -name 'CVS' | xargs rm -f
cp -a * ${D}/usr/share/openh323
if [ ${ARCH} = "ppc" ] ; then
dosym libh323_linux_ppc_r.so.${PV} /usr/lib/libopenh323.so
else
dosym libh323_linux_x86_r.so.${PV} /usr/lib/libopenh323.so
fi
}
|