diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-11-06 06:20:42 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-11-06 06:20:42 +0000 |
commit | 46c56d0f3b914f8413d2c1c46fab7f884dca04c6 (patch) | |
tree | 0892d7f166aad2ab9b121743e076268e54a04ca9 /net-libs/openh323/openh323-1.9.10-r1.ebuild | |
parent | initial import (diff) | |
download | gentoo-2-46c56d0f3b914f8413d2c1c46fab7f884dca04c6.tar.gz gentoo-2-46c56d0f3b914f8413d2c1c46fab7f884dca04c6.tar.bz2 gentoo-2-46c56d0f3b914f8413d2c1c46fab7f884dca04c6.zip |
New ebuild with support for SSL. Please comment on bug #9650
Diffstat (limited to 'net-libs/openh323/openh323-1.9.10-r1.ebuild')
-rw-r--r-- | net-libs/openh323/openh323-1.9.10-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-libs/openh323/openh323-1.9.10-r1.ebuild b/net-libs/openh323/openh323-1.9.10-r1.ebuild new file mode 100644 index 000000000000..e9f7b7248e62 --- /dev/null +++ b/net-libs/openh323/openh323-1.9.10-r1.ebuild @@ -0,0 +1,56 @@ +# 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-r1.ebuild,v 1.1 2002/11/06 06:20:42 raker 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-r1 + ssl? ( dev-libs/openssl )" + +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" + +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/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 + +} + + |