/[gentoo-x86]/net-libs/openh323/openh323-1.9.10-r1.ebuild
Gentoo

Contents of /net-libs/openh323/openh323-1.9.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Sun Apr 10 21:38:25 2005 UTC (9 years, 8 months ago) by stkn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
cleanup part #1

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.9.10-r1.ebuild,v 1.14 2005/01/08 20:15:47 stkn Exp $
4
5 IUSE="ssl"
6
7 S="${WORKDIR}/${PN}"
8
9 DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol"
10 HOMEPAGE="http://www.openh323.org"
11 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
12
13 DEPEND="media-libs/speex
14 =dev-libs/pwlib-1.3.11*
15 ssl? ( dev-libs/openssl )"
16
17 SLOT="0"
18 LICENSE="MPL-1.1"
19 KEYWORDS="x86 ppc -sparc"
20
21 src_compile() {
22 export PWLIBDIR=/usr/share/pwlib
23 export OPENH323DIR=${S}
24
25 if use ssl; then
26 export OPENSSLFLAG=1
27 export OPENSSLDIR=/usr
28 export OPENSSLLIBS="-lssl -lcrypt"
29 fi
30
31 make optshared || die
32 }
33
34 src_install() {
35 dodir /usr/share/openh323
36
37 into /usr
38 dolib ${S}/lib/lib*
39
40 cd ${S}
41 find ./ -name 'CVS' | xargs rm -f
42 cp -a * ${D}/usr/share/openh323
43
44 if [ ${ARCH} = "ppc" ] ; then
45 dosym libh323_linux_ppc_r.so.${PV} /usr/lib/libopenh323.so
46 else
47 dosym libh323_linux_x86_r.so.${PV} /usr/lib/libopenh323.so
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20