diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2003-10-13 21:44:23 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2003-10-13 21:44:23 +0000 |
commit | 0db2fd30a0875aebd5c76a268d0fc5a6721eb84a (patch) | |
tree | 075d5ce92a2a240533e31ee0ef15c9d5f1465959 /net-libs | |
parent | initial ebuild #30751 (diff) | |
download | historical-0db2fd30a0875aebd5c76a268d0fc5a6721eb84a.tar.gz historical-0db2fd30a0875aebd5c76a268d0fc5a6721eb84a.tar.bz2 historical-0db2fd30a0875aebd5c76a268d0fc5a6721eb84a.zip |
make openh323u.mak pathes point to right locations, (required for other apps)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/openh323/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/openh323/Manifest | 6 | ||||
-rw-r--r-- | net-libs/openh323/files/digest-openh323-1.12.2-r1 | 1 | ||||
-rw-r--r-- | net-libs/openh323/metadata.xml | 5 | ||||
-rw-r--r-- | net-libs/openh323/openh323-1.12.2-r1.ebuild | 104 |
5 files changed, 121 insertions, 2 deletions
diff --git a/net-libs/openh323/ChangeLog b/net-libs/openh323/ChangeLog index 7ce208ce2ab3..de37542adeec 100644 --- a/net-libs/openh323/ChangeLog +++ b/net-libs/openh323/ChangeLog @@ -2,6 +2,13 @@ # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: +*openh323-1.12.2-r1 (13 Oct 2003) + + 13 Oct 2003; Stefan Knoblich <stkn@gentoo.org> metadata.xml, + openh323-1.12.2-r1.ebuild: + fixes openh323u.mak include and library path, necessary for openh323.org + applications (and others) + 09 Sep 2003; Alastair Tse <liquidx@gentoo.org> openh323-1.12.2.ebuild: installed version.h for gnugk (#28199) diff --git a/net-libs/openh323/Manifest b/net-libs/openh323/Manifest index cfb108d3fd26..a8d28c3ac2d7 100644 --- a/net-libs/openh323/Manifest +++ b/net-libs/openh323/Manifest @@ -1,11 +1,13 @@ -MD5 8fdbbcc9557214c777026e3d4d5d659a ChangeLog 4129 -MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 +MD5 6109f1382f2040f2619d78e18f0f6a8c ChangeLog 4360 +MD5 5ae9f140fcd4525c88ee9239bd8772a6 metadata.xml 267 MD5 53e0a3534865471e42d38f10d6c06525 openh323-1.11.7.ebuild 1842 MD5 53f922646c126ff274c62ef66f4a04b1 openh323-1.12.0-r1.ebuild 2707 MD5 a39c20e3a19715bb753b8d9ef6b67264 openh323-1.12.2.ebuild 2793 MD5 4859f1257934ee01b381308cbb290d2d openh323-1.9.10-r1.ebuild 1117 +MD5 734d7c974cf9de7584c3705c8c79b72c openh323-1.12.2-r1.ebuild 3119 MD5 e9ac1227eaf205c20f84a4fc712e8d66 files/digest-openh323-1.11.7 68 MD5 238a3a0b91aabce0a61e0dd5c4b9ee68 files/digest-openh323-1.12.0-r1 68 MD5 2efc1a39c75805caacb974bfa6208dea files/digest-openh323-1.12.2 68 MD5 47caff52a16cf5135ad984dcfe022f6a files/digest-openh323-1.9.10-r1 68 MD5 c3dd75b2e6b09b4f5cc5b88a12064159 files/openh323-1.11.7-emptyMakefile 8 +MD5 2efc1a39c75805caacb974bfa6208dea files/digest-openh323-1.12.2-r1 68 diff --git a/net-libs/openh323/files/digest-openh323-1.12.2-r1 b/net-libs/openh323/files/digest-openh323-1.12.2-r1 new file mode 100644 index 000000000000..4f6acaf41c0f --- /dev/null +++ b/net-libs/openh323/files/digest-openh323-1.12.2-r1 @@ -0,0 +1 @@ +MD5 15f0b12b60769d03eca9e498050776f3 openh323_1.12.2.tar.gz 2343354 diff --git a/net-libs/openh323/metadata.xml b/net-libs/openh323/metadata.xml index da6fd63d0085..68d17dba0f46 100644 --- a/net-libs/openh323/metadata.xml +++ b/net-libs/openh323/metadata.xml @@ -1,5 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<herd>voip</herd> <herd>gnome</herd> +<maintainer> + <email>stkn@gentoo.org</email> + <name>Stefan Knoblich</name> +</maintainer> </pkgmetadata> diff --git a/net-libs/openh323/openh323-1.12.2-r1.ebuild b/net-libs/openh323/openh323-1.12.2-r1.ebuild new file mode 100644 index 000000000000..84abe8f7fcc0 --- /dev/null +++ b/net-libs/openh323/openh323-1.12.2-r1.ebuild @@ -0,0 +1,104 @@ +# 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.2-r1.ebuild,v 1.1 2003/10/13 21:44:16 stkn 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 " + +DEPEND=">=sys-apps/sed-4 + >=dev-libs/pwlib-1.5.2 + >=media-video/ffmpeg-0.4.7_pre20030624 + 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_unpack() { + unpack ${A} + # enabling ffmpeg/h263 support + cd ${S}; sed -i -e "s:/usr/local/include/ffmpeg:/usr/include/ffmpeg:" configure +} + +src_compile() { + local makeopts + + export PWLIBDIR=/usr/share/pwlib + export PTLIB_CONFIG=/usr/bin/ptlib-config + export OPENH323DIR=${S} + + # NOTRACE avoid compilation problems, we disable PTRACING using NOTRACE=1 + makeopts="${makeopts} ASNPARSER=/usr/bin/asnparser NOTRACE=1" + + + 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() { + local OPENH323_ARCH ALT_ARCH + # make NOTRACE=1 opt ==> linux_$ARCH_n + # make opt ==> linux_$ARCH_r + OPENH323_ARCH="linux_${ARCH}_n" + + dodir /usr/bin /usr/lib/ /usr/share + make PREFIX=${D}/usr install || die "install failed" + dobin ${S}/samples/simple/obj_${OPENH323_ARCH}/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 + insinto /usr/share/openh323 + doins version.h + + rm ${D}/usr/lib/libopenh323.so + dosym /usr/lib/libh323_${OPENH323_ARCH}.so.${PV} /usr/lib/libopenh323.so + + # for backwards compatibility with _r versioned libraries + ALT_ARCH=${OPENH323_ARCH/_n/_r} + for pv in ${PV} ${PV%.[0-9]} ${PV%.[0-9]*.[0-9]}; do + einfo "creating /usr/lib/libh323_${ALT_ARCH}.so.${pv} symlink" + dosym /usr/lib/libh323_${OPENH323_ARCH}.so.${PV} /usr/lib/libh323_${ALT_ARCH}.so.${pv} + done + dosym /usr/lib/libh323_${OPENH323_ARCH}.so.${PV} /usr/lib/libh323_${ALT_ARCH}.so + + # those should point to the right directories, + # openh323.org and other applications need this + dosed "s:^OH323_LIBDIR = \$(OPENH323DIR).*:OH323_LIBDIR = /usr/lib:" \ + /usr/share/openh323/openh323u.mak + dosed "s:^OH323_INCDIR = \$(OPENH323DIR).*:OH323_INCDIR = /usr/include/openh323:" \ + /usr/share/openh323/openh323u.mak +} + + |