New ebuild with support for SSL. Please comment on bug #9650
authorNick Hadaway <raker@gentoo.org>
Wed, 6 Nov 2002 06:20:42 +0000 (06:20 +0000)
committerNick Hadaway <raker@gentoo.org>
Wed, 6 Nov 2002 06:20:42 +0000 (06:20 +0000)
net-libs/openh323/ChangeLog
net-libs/openh323/files/digest-openh323-1.9.10-r1 [new file with mode: 0644]
net-libs/openh323/openh323-1.9.10-r1.ebuild [new file with mode: 0644]

index 1f478076f5e78a0990f5bb2813b6014f189c898c..f9153df4e9f8f5ba866d9cc8615bd6e8c63b1c6e 100644 (file)
@@ -1,8 +1,14 @@
 # ChangeLog for net-libs/openh323
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/ChangeLog,v 1.5 2002/10/24 20:13:29 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/ChangeLog,v 1.6 2002/11/06 06:20:42 raker Exp $
 
-openh323-1.9.10 (24 Oct 2002)
+*openh323-1.9.10-r1 (06 Nov 2002)
+
+  06 Nov 2002; Nick Hadaway <raker@gentoo.org> openh323-1.9.10-r1.ebuild,
+  files/digest-openh323-1.9.10-r1 :
+  Added SSL support and tightened dependancy on pwlib.
+
+*openh323-1.9.10 (24 Oct 2002)
 
   24 Oct 2002; Nick Hadaway <raker@gentoo.org> openh323-1.9.10.ebuild,
   files/digest-openh323-1.9.10 :
diff --git a/net-libs/openh323/files/digest-openh323-1.9.10-r1 b/net-libs/openh323/files/digest-openh323-1.9.10-r1
new file mode 100644 (file)
index 0000000..f078580
--- /dev/null
@@ -0,0 +1 @@
+MD5 4efbe1356cb26b8442add3cc4cfba91d openh323_1.9.10.tar.gz 1778990
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 (file)
index 0000000..e9f7b72
--- /dev/null
@@ -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
+
+}
+
+