summaryrefslogtreecommitdiff
blob: a22ffab09d1ce3f6161e653630c1c9abc8a0294f (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-2002 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.ebuild,v 1.3 2002/11/12 23:50:40 mkeadle Exp $

S="${WORKDIR}/${PN}"

SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
HOMEPAGE="http://www.openh323.org"
DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol"

DEPEND="media-libs/speex
	>=dev-libs/pwlib-1.3.11"

SLOT="0"
LICENSE="MPL-1.1"
KEYWORDS="x86 ~sparc ~sparc64"

src_compile() {

	export PWLIBDIR=/usr/share/pwlib
	export OPENH323DIR=${S}

	make optshared || die

}

src_install() {

   dodir /usr/lib /usr/share/openh323

   cd ${S}/lib
   mv lib* ${D}/usr/lib

   cd ${S}
   cp -a * ${D}/usr/share/openh323
   rm -rf ${D}/usr/share/openh323/make/CVS
   rm -rf ${D}/usr/share/openh323/tools/CVS
   rm -rf ${D}/usr/share/openh323/tools/asnparser/CVS
   rm -rf ${D}/usr/share/openh323/src
   rm -rf ${D}/usr/share/openh323/include/CVS
   rm -rf ${D}/usr/share/openh323/include/ptlib/unix/CVS
   rm -rf ${D}/usr/share/openh323/include/ptlib/CVS

   cd ${D}/usr/lib
   ln -sf libh323_linux_x86_r.so.${PV} libopenh323.so

}