diff options
-rw-r--r-- | net-libs/openh323/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/openh323/Manifest | 8 | ||||
-rw-r--r-- | net-libs/openh323/files/digest-openh323-1.12.0 | 1 | ||||
-rw-r--r-- | net-libs/openh323/openh323-1.12.0.ebuild | 80 |
4 files changed, 92 insertions, 3 deletions
diff --git a/net-libs/openh323/ChangeLog b/net-libs/openh323/ChangeLog index bd8bbc5daecb..f5aee91627b7 100644 --- a/net-libs/openh323/ChangeLog +++ b/net-libs/openh323/ChangeLog @@ -2,6 +2,12 @@ # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: +*openh323-1.12.0 (27 Jun 2003) + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> openh323-1.12.0.ebuild: + version bump. changed build syste. removed arch specific link as make file + handles that now. cleaned up extraneous files in /usr/share/openh323 + 17 May 2003; Alastair Tse <liquidx@gentoo.org> openh323-1.11.7.ebuild: marked as x86 stable diff --git a/net-libs/openh323/Manifest b/net-libs/openh323/Manifest index bde1b2fbdcae..e66e0a4fe345 100644 --- a/net-libs/openh323/Manifest +++ b/net-libs/openh323/Manifest @@ -1,6 +1,8 @@ +MD5 9ccac2bf1cffc3f38a234aa7ed0db4c7 ChangeLog 3024 MD5 00792a32c848412e425a67c20a72b594 openh323-1.9.10-r1.ebuild 1120 +MD5 191e81cfca4799fa73058a698d214d9e openh323-1.12.0.ebuild 2024 MD5 dca9f4bf7ae0665e082f37c865a969e3 openh323-1.11.7.ebuild 1790 -MD5 0459da0341687abb33aaa4f2c57b546a ChangeLog 2770 -MD5 c3dd75b2e6b09b4f5cc5b88a12064159 files/openh323-1.11.7-emptyMakefile 8 -MD5 e9ac1227eaf205c20f84a4fc712e8d66 files/digest-openh323-1.11.7 68 +MD5 238a3a0b91aabce0a61e0dd5c4b9ee68 files/digest-openh323-1.12.0 68 MD5 47caff52a16cf5135ad984dcfe022f6a files/digest-openh323-1.9.10-r1 68 +MD5 e9ac1227eaf205c20f84a4fc712e8d66 files/digest-openh323-1.11.7 68 +MD5 c3dd75b2e6b09b4f5cc5b88a12064159 files/openh323-1.11.7-emptyMakefile 8 diff --git a/net-libs/openh323/files/digest-openh323-1.12.0 b/net-libs/openh323/files/digest-openh323-1.12.0 new file mode 100644 index 000000000000..e17382151a0f --- /dev/null +++ b/net-libs/openh323/files/digest-openh323-1.12.0 @@ -0,0 +1 @@ +MD5 f7932f0a17d6afafc7332036a4b5d392 openh323_1.12.0.tar.gz 2325128 diff --git a/net-libs/openh323/openh323-1.12.0.ebuild b/net-libs/openh323/openh323-1.12.0.ebuild new file mode 100644 index 000000000000..a1a0cde93afc --- /dev/null +++ b/net-libs/openh323/openh323-1.12.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.12.0.ebuild,v 1.1 2003/06/27 12:26:30 liquidx Exp $ + +IUSE="ssl" + +S=${WORKDIR}/${PN} +DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol" +HOMEPAGE="http://www.openh323.org" +SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" + +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~x86 ~ppc -sparc " + +# FIXME: dep on ffmpeg but ./configure does not detect it properly +DEPEND=">=sys-apps/sed-4 + >=dev-libs/pwlib-1.5.0 + ssl? ( dev-libs/openssl )" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_setup() { + # to prevent merge problems with broken makefiles from old + # pwlib versions, we double-check here. + + if [ "` fgrep '\$(OPENSSLDIR)/include' /usr/share/pwlib/make/unix.mak`" ] + then + # patch unix.mak so it doesn't require annoying + # unmerge/merge cycle to upgrade + einfo "Fixing broken pwlib makefile." + cd /usr/share/pwlib/make + sed -i \ + -e "s:-DP_SSL -I\$(OPENSSLDIR)/include -I\$(OPENSSLDIR)/crypto:-DP_SSL:" \ + -e "s:^LDFLAGS.*\+= -L\$(OPENSSLDIR)/lib -L\$(OPENSSLDIR):LDFLAGS +=:" \ + unix.mak + fi +} + +src_compile() { + local makeopts + + export PWLIBDIR=/usr/share/pwlib + export OPENH323DIR=${S} + + makeopts="${makeopts} ASNPARSER=/usr/bin/asnparser" + + + if [ "`use ssl`" ]; then + export OPENSSLFLAG=1 + export OPENSSLDIR=/usr + export OPENSSLLIBS="-lssl -lcrypt" + fi + + econf || die + emake ${makeopts} opt || die "make failed" +} + +src_install() { + + dodir /usr/bin /usr/lib/ /usr/share + make PREFIX=${D}/usr install || die "install failed" + dobin ${S}/simple/obj_linux_x86_r/simph323 + + find ${D} -name 'CVS' -type d | xargs rm -rf + + # mod to keep gnugk happy + insinto /usr/share/openh323/src + newins ${FILESDIR}/openh323-1.11.7-emptyMakefile Makefile + + #if [ ${ARCH} = "ppc" ] ; then + # dosym libh323_linux_ppc_r.so.${PV} /usr/lib/libopenh323.so + #else + # dosym libh323_linux_x86_r.so.${PV} /usr/lib/libopenh323.so + #fi + + +} + + |