blob: 90da21b0faaf740ab8ed9ee0b8c3bcf7d4c97969 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Fabrice Alphonso <fabrice@alphonso.dyndns.org>
# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.8.0-r1.ebuild,v 1.2 2002/04/27 23:34:20 bangert Exp $
S="${WORKDIR}/openh323"
SRC_URI="http://www.gnomemeeting.org/downloads/latest/sources/openh323_1.8.0-patched.tar.gz"
HOMEPAGE="http://www.openh323.org"
DEPEND="virtual/glibc
>=dev-libs/pwlib-1.2.1-r3"
src_compile() {
cd ${S}
export PWLIBDIR=/usr/share/pwlib
export OPENH323DIR=${S}
echo $PWLIBDIR
make optshared || die
}
src_install() {
mkdir -p ${D}/usr/lib
mkdir -p ${D}/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.1.0.0a libopenh323.so
}
|