summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-08-15 19:19:36 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-08-15 19:19:36 +0000
commit44a953bcfaa32679079df465180b5b458004085b (patch)
treea4ec9847e1bad1063f08dd688a4b0479ec3552f3 /dev-libs/pwlib
parenttidy; use DESTDIR; quoting (diff)
downloadgentoo-2-44a953bcfaa32679079df465180b5b458004085b.tar.gz
gentoo-2-44a953bcfaa32679079df465180b5b458004085b.tar.bz2
gentoo-2-44a953bcfaa32679079df465180b5b458004085b.zip
Removing obsolete ebuilds.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r--dev-libs/pwlib/ChangeLog8
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.21
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.2-r11
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.2-r21
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.31
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.3-r11
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.3-r21
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.61
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.6-r11
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.8.31
-rw-r--r--dev-libs/pwlib/pwlib-1.5.2-r1.ebuild97
-rw-r--r--dev-libs/pwlib/pwlib-1.5.2-r2.ebuild103
-rw-r--r--dev-libs/pwlib/pwlib-1.5.2.ebuild91
-rw-r--r--dev-libs/pwlib/pwlib-1.6.3-r1.ebuild145
-rw-r--r--dev-libs/pwlib/pwlib-1.6.3-r2.ebuild144
-rw-r--r--dev-libs/pwlib/pwlib-1.6.3.ebuild137
-rw-r--r--dev-libs/pwlib/pwlib-1.6.6-r1.ebuild158
-rw-r--r--dev-libs/pwlib/pwlib-1.6.6.ebuild152
-rw-r--r--dev-libs/pwlib/pwlib-1.8.3.ebuild148
19 files changed, 7 insertions, 1185 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
index a0ecdc3fa39d..5301d61f158e 100644
--- a/dev-libs/pwlib/ChangeLog
+++ b/dev-libs/pwlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/pwlib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.83 2005/07/27 10:35:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.84 2005/08/15 19:19:36 stkn Exp $
+
+ 15 Aug 2005; <stkn@gentoo.org> -pwlib-1.5.2.ebuild,
+ -pwlib-1.5.2-r1.ebuild, -pwlib-1.5.2-r2.ebuild, -pwlib-1.6.3.ebuild,
+ -pwlib-1.6.3-r1.ebuild, -pwlib-1.6.3-r2.ebuild, -pwlib-1.6.6.ebuild,
+ -pwlib-1.6.6-r1.ebuild, -pwlib-1.8.3.ebuild:
+ Removing obsolete ebuilds.
27 Jul 2005; Pieter Van den Abeele <pvdabeel@gentoo.org>
pwlib-1.8.3.ebuild, pwlib-1.8.3-r1.ebuild, pwlib-1.8.4.ebuild:
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2 b/dev-libs/pwlib/files/digest-pwlib-1.5.2
deleted file mode 100644
index 612e63c4b4d3..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.5.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r1
deleted file mode 100644
index 612e63c4b4d3..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r2 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r2
deleted file mode 100644
index 612e63c4b4d3..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3 b/dev-libs/pwlib/files/digest-pwlib-1.6.3
deleted file mode 100644
index 863433eb2e70..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.6.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r1 b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r1
deleted file mode 100644
index 863433eb2e70..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r2 b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r2
deleted file mode 100644
index 863433eb2e70..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.6 b/dev-libs/pwlib/files/digest-pwlib-1.6.6
deleted file mode 100644
index 82c17312183f..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.6.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c3ae07b03cd48d57cd9d6ec346182ed4 pwlib-v1_6_6-src.tar.gz 1583087
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r1 b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r1
deleted file mode 100644
index 82c17312183f..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c3ae07b03cd48d57cd9d6ec346182ed4 pwlib-v1_6_6-src.tar.gz 1583087
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.3 b/dev-libs/pwlib/files/digest-pwlib-1.8.3
deleted file mode 100644
index bd4b079020d8..000000000000
--- a/dev-libs/pwlib/files/digest-pwlib-1.8.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 082e0ca640c3dd81c637b6d6a3c9b4b3 pwlib-v1_8_3-src-tar.gz 1900922
diff --git a/dev-libs/pwlib/pwlib-1.5.2-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r1.ebuild
deleted file mode 100644
index 907a263ef0db..000000000000
--- a/dev-libs/pwlib/pwlib-1.5.2-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r1.ebuild,v 1.7 2005/01/08 20:12:42 stkn Exp $
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc"
-IUSE="ldap sdl ssl"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- ldap? ( net-nds/openldap )
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR=/usr
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- econf || die "configure failed"
-
- # horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is enabled
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config
-
- emake opt || die "make failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "ppc" ] ; then
- dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
- elif [ ${ARCH} = "sparc" ] ; then
- dosym /usr/lib/libpt_linux_sparc_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.5.2-r2.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r2.ebuild
deleted file mode 100644
index ac561f312772..000000000000
--- a/dev-libs/pwlib/pwlib-1.5.2-r2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r2.ebuild,v 1.6 2005/01/08 20:12:42 stkn Exp $
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc"
-IUSE="ldap sdl ssl"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- ldap? ( net-nds/openldap )
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- econf || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- emake opt || die "make failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "ppc" ] ; then
- dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
- elif [ ${ARCH} = "sparc" ] ; then
- dosym /usr/lib/libpt_linux_sparc_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.5.2.ebuild b/dev-libs/pwlib/pwlib-1.5.2.ebuild
deleted file mode 100644
index 5160b8b7fd86..000000000000
--- a/dev-libs/pwlib/pwlib-1.5.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2.ebuild,v 1.8 2005/01/08 20:12:42 stkn Exp $
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~ppc -sparc"
-IUSE="ldap sdl ssl"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- ldap? ( net-nds/openldap )
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR=/usr
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- econf || die "configure failed"
-
- # horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is enabled
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config
-
- emake opt || die "make failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "ppc" ] ; then
- dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.6.3-r1.ebuild b/dev-libs/pwlib/pwlib-1.6.3-r1.ebuild
deleted file mode 100644
index de901775d1b9..000000000000
--- a/dev-libs/pwlib/pwlib-1.6.3-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3-r1.ebuild,v 1.8 2005/01/08 20:12:42 stkn Exp $
-
-IUSE="ssl sdl ieee1394 alsa esd"
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~sparc"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- net-nds/openldap
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394 )
- esd? ( media-sound/esound )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- local plugins
- local myconf
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- if use esd; then
- # fixes bug #45059
- export ESDDIR=/usr
- fi
-
- # merge plugin options (safe way if default = "")
- plugins="`echo ${plugins} | sed -e "y: :,:"`"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- # remove -fno-rtti, this breaks various things *grr*
- sed -i -e "s:-fno-rtti::" \
- make/ptbuildopts.mak
- sed -i -e "s:-fno-rtti::" \
- make/ptlib-config
-
- emake opt || die "make failed"
- emake PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "ppc" ] ; then
- dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
- elif [ ${ARCH} = "sparc" ] ; then
- dosym /usr/lib/libpt_linux_sparc_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.6.3-r2.ebuild b/dev-libs/pwlib/pwlib-1.6.3-r2.ebuild
deleted file mode 100644
index 39947dca4729..000000000000
--- a/dev-libs/pwlib/pwlib-1.6.3-r2.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3-r2.ebuild,v 1.12 2005/01/08 20:12:42 stkn Exp $
-
-IUSE="ssl sdl ieee1394 alsa esd"
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="x86 sparc amd64 ppc alpha"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- net-nds/openldap
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394 )
- esd? ( media-sound/esound )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- local plugins
- local myconf
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- if use esd; then
- # fixes bug #45059
- export ESDDIR=/usr
- fi
-
- # merge plugin options (safe way if default = "")
- plugins="`echo ${plugins} | sed -e "y: :,:"`"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- # remove -fno-rtti, this breaks various things *grr*
- sed -i -e "s:-fno-rtti::" \
- make/ptbuildopts.mak
- sed -i -e "s:-fno-rtti::" \
- make/ptlib-config
-
- emake opt || die "make failed"
- emake PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- # only amd64 needs special handling, afaiks
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "amd64" ] ; then
- dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.6.3.ebuild b/dev-libs/pwlib/pwlib-1.6.3.ebuild
deleted file mode 100644
index c606ea15ff6f..000000000000
--- a/dev-libs/pwlib/pwlib-1.6.3.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3.ebuild,v 1.5 2005/01/08 20:12:42 stkn Exp $
-
-IUSE="ssl sdl ieee1394 alsa esd ldap"
-
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- ldap? ( net-nds/openldap )
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394 )
- esd? ( media-sound/esound )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- local plugins
- local myconf
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- use esd \
- && plugins="${plugins} esd"
-
- # merge plugin options (safe way if default = "")
- plugins="`echo ${plugins} | sed -e "y: :,:"`"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- emake opt || die "make failed"
- emake PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "ppc" ] ; then
- dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
- elif [ ${ARCH} = "sparc" ] ; then
- dosym /usr/lib/libpt_linux_sparc_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.6.6-r1.ebuild b/dev-libs/pwlib/pwlib-1.6.6-r1.ebuild
deleted file mode 100644
index 124b39097c66..000000000000
--- a/dev-libs/pwlib/pwlib-1.6.6-r1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.6-r1.ebuild,v 1.3 2005/01/10 04:43:54 stkn Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="ssl sdl ieee1394 alsa esd"
-
-MY_P="${PN}-v${PV//./_}"
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="mirror://sourceforge/openh323/${MY_P}-src.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64 ~sparc ~alpha"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- net-nds/openldap
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394
- media-plugins/libdc1394 )
- esd? ( media-sound/esound )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-
- # small fix for firewire dc (camera) plugin
- cd ${S}
- epatch ${FILESDIR}/${P}-ieee1394dc-fix.diff
-
- # dmix patch for alsa support (#68553)
- epatch ${FILESDIR}/${P}-alsa_dmix.diff
-}
-
-src_compile() {
- local plugins
- local myconf
-
- # may cause ICE (bug #70638)
- filter-flags -fstack-protector
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc dc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- if use esd; then
- # fixes bug #45059
- export ESDDIR=/usr
- fi
-
- # merge plugin options (safe way if default = "")
- plugins="`echo ${plugins} | sed -e "y: :,:"`"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- # remove -fno-rtti, this breaks various things *grr*
- sed -i -e "s:-fno-rtti::" \
- make/ptbuildopts.mak
- sed -i -e "s:-fno-rtti::" \
- make/ptlib-config
-
- emake opt || die "make failed"
- emake PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- # only amd64 needs special handling, afaiks
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "amd64" ] ; then
- dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.6.6.ebuild b/dev-libs/pwlib/pwlib-1.6.6.ebuild
deleted file mode 100644
index a382d78f5cad..000000000000
--- a/dev-libs/pwlib/pwlib-1.6.6.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.6.ebuild,v 1.10 2005/01/08 20:12:42 stkn Exp $
-
-inherit eutils
-
-IUSE="ssl sdl ieee1394 alsa esd"
-
-MY_P="${PN}-v${PV//./_}"
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="mirror://sourceforge/openh323/${MY_P}-src.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ppc ~amd64 ~sparc ~alpha"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- net-nds/openldap
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394
- media-plugins/libdc1394 )
- esd? ( media-sound/esound )"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A}
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-
- # small fix for firewire dc (camera) plugin
- cd ${S}
- epatch ${FILESDIR}/${P}-ieee1394dc-fix.diff
-}
-
-src_compile() {
- local plugins
- local myconf
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc dc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- if use esd; then
- # fixes bug #45059
- export ESDDIR=/usr
- fi
-
- # merge plugin options (safe way if default = "")
- plugins="`echo ${plugins} | sed -e "y: :,:"`"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- # remove -fno-rtti, this breaks various things *grr*
- sed -i -e "s:-fno-rtti::" \
- make/ptbuildopts.mak
- sed -i -e "s:-fno-rtti::" \
- make/ptlib-config
-
- emake opt || die "make failed"
- emake PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
-}
-
-src_install() {
- # make these because the makefile isn't smart enough
- dodir /usr/bin /usr/lib /usr/share /usr/include
- make PREFIX=${D}/usr install || die "install failed"
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- # remove CVS dirs
- find ${D} -name CVS -type d | xargs rm -rf
-
- # fix symlink
- # only amd64 needs special handling, afaiks
- rm ${D}/usr/lib/libpt.so
- if [ ${ARCH} = "amd64" ] ; then
- dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # satisfy ptlib.mak's weird definition (should check if true for future versions)
- cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt History.txt
-}
diff --git a/dev-libs/pwlib/pwlib-1.8.3.ebuild b/dev-libs/pwlib/pwlib-1.8.3.ebuild
deleted file mode 100644
index 84471f0bbcd8..000000000000
--- a/dev-libs/pwlib/pwlib-1.8.3.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.3.ebuild,v 1.9 2005/07/27 10:35:08 pvdabeel Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="ssl sdl ieee1394 alsa esd"
-
-MY_P="${PN}-v${PV//./_}"
-DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.openh323.org/"
-SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~sparc ~alpha ppc"
-
-DEPEND=">=sys-devel/bison-1.28
- >=sys-devel/flex-2.5.4a
- dev-libs/expat
- >=sys-apps/sed-4
- net-nds/openldap
- sdl? ( media-libs/libsdl )
- ssl? ( dev-libs/openssl )
- alsa? ( media-libs/alsa-lib )
- ieee1394? ( media-libs/libdv
- sys-libs/libavc1394
- sys-libs/libraw1394
- media-plugins/libdc1394 )
- esd? ( media-sound/esound )"
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- # currently complaining to upstream about new naming scheme
- tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed"
-
- cd ${S}/make
-
- # filter out -O3 and -mcpu embedded compiler flags
- sed -i \
- -e "s:-mcpu=\$(CPUTYPE)::" \
- -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
- unix.mak
-}
-
-src_compile() {
- local plugins
- local myconf
-
- # may cause ICE (bug #70638)
- filter-flags -fstack-protector
-
- if use ssl; then
- export OPENSSLFLAG=1
- export OPENSSLDIR="/usr"
- export OPENSSLLIBS="-lssl -lcrypt"
- fi
-
- ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
- ## (even if itself is built without...)
- #use ipv6 \
- # && myconf="${myconf} --enable-ipv6" \
- # || myconf="${myconf} --disable-ipv6"
- myconf="${myconf} --enable-ipv6"
-
- # plugins, oss and v4l are default
- plugins="oss v4l"
-
- use ieee1394 \
- && plugins="${plugins} avc dc"
-
- use alsa \
- && plugins="${plugins} alsa"
-
- if use esd; then
- # fixes bug #45059
- export ESDDIR=/usr
-
- # ESD includes are in /usr/include?
- # remove include path, bad things may happen if we leave it in there
- sed -i -e "s:-I\$(ESDDIR)/include::" \
- ${S}/make/unix.mak
- fi
-
- # merge plugin options (safe way if default = "")
- plugins="$(echo ${plugins} | sed -e "y: :,:")"
-
- econf ${myconf} \
- --enable-plugins \
- --with-plugins=${plugins} || die "configure failed"
-
- # Horrible hack to strip out -L/usr/lib to allow upgrades
- # problem is it adds -L/usr/lib before -L${S} when SSL is
- # enabled. Same thing for -I/usr/include.
- sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
- -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
- ${S}/make/ptbuildopts.mak
- sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
- -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
- ${S}/make/ptlib-config
-
- emake -j1 opt || die "make failed"
-}
-
-src_install() {
- # makefile doesn't create ${D}/usr/bin
- dodir /usr/bin
- make PREFIX=${D}/usr install || die "install failed"
-
- ## vv will try to fix the mess below, requires a lot of patching though...
-
- # these are for compiling openh323
- # NOTE: symlinks don't work when upgrading
- # FIXME: probably should fix this with ptlib-config
- dodir /usr/share/pwlib/include
- cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
-
- dodir /usr/share/pwlib/lib
- for x in ${D}/usr/lib/*; do
- dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
- done
-
- ## ^^ bad stuff
-
- # fix symlink
- # only amd64 needs special handling, afaiks
- rm ${D}/usr/lib/libpt.so
- if use amd64; then
- dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
- else
- dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
- fi
-
- # strip ${S} stuff
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
- dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
-
- # dodgy configure/makefiles forget to expand this
- dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
-
- # copy version.h
- insinto /usr/share/pwlib
- doins version.h
-
- dodoc ReadMe.txt ReadMe_QOS.txt History.txt ChangeLog mpl-1.0.htm
-}