diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-06-27 12:20:26 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-06-27 12:20:26 +0000 |
commit | 03d156e58af015ce2914df1ed6d38749203214cb (patch) | |
tree | 9ed4d20a80c9659049e13730230b4ea2fc31303c /dev-libs/pwlib | |
parent | pwlib/openh323/gnomemeeting update (diff) | |
download | gentoo-2-03d156e58af015ce2914df1ed6d38749203214cb.tar.gz gentoo-2-03d156e58af015ce2914df1ed6d38749203214cb.tar.bz2 gentoo-2-03d156e58af015ce2914df1ed6d38749203214cb.zip |
pwlib/openh323/gnomemeeting update
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r-- | dev-libs/pwlib/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/pwlib/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.5.0 | 1 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.5.0.ebuild | 85 |
4 files changed, 95 insertions, 3 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog index a08518e57407..1b561500a4d5 100644 --- a/dev-libs/pwlib/ChangeLog +++ b/dev-libs/pwlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/pwlib # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.24 2003/05/16 23:30:11 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.25 2003/06/27 12:20:16 liquidx Exp $ + +*pwlib-1.5.0 (27 Jun 2003) + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild: + version bump. the build systems has changed to ./configure. also removed + extraneous files from /usr/share/pwlib 17 May 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild: marked as x86 stable diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest index 45c02690b04a..7ebaafe38579 100644 --- a/dev-libs/pwlib/Manifest +++ b/dev-libs/pwlib/Manifest @@ -1,6 +1,6 @@ -MD5 23984a6041c4305f05a1a2a1a33b6150 ChangeLog 4371 +MD5 2d63c37ca138ab58493665db5590b252 ChangeLog 4585 MD5 b2771e68ea74dfe3c71f91a4b0b48515 pwlib-1.3.11-r1.ebuild 1873 -MD5 87c546ffc942940903235b25f0076606 pwlib-1.5.0.ebuild 2404 +MD5 581d28942f7ffd9c06395e45088302f5 pwlib-1.5.0.ebuild 2298 MD5 3315895081f938146aca9ccb586466b0 pwlib-1.4.7.ebuild 2726 MD5 4bd4fd55e946f6406a41d39253887e0f pwlib-1.4.11.ebuild 2381 MD5 67bcec54ffa82d8da3b0c0e2f23daf7e files/digest-pwlib-1.5.0 64 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0 b/dev-libs/pwlib/files/digest-pwlib-1.5.0 new file mode 100644 index 000000000000..509017bde7b6 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0 @@ -0,0 +1 @@ +MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/pwlib-1.5.0.ebuild b/dev-libs/pwlib/pwlib-1.5.0.ebuild new file mode 100644 index 000000000000..2fe7ff3f4b41 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.5.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0.ebuild,v 1.1 2003/06/27 12:20:16 liquidx Exp $ + +S=${WORKDIR}/${PN} + +IUSE="ssl sdl" + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +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-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 )" + +src_unpack() { + unpack ${A} + cd ${S}/make + # filter out -O3 and -mcpu embedded compiler flags + sed -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -i unix.mak + +} + +src_compile() { + + if [ "`use ssl`" ]; then + export OPENSSLFLAG=1 + export OPENSSLDIR=/usr + export OPENSSLLIBS="-lssl -lcrypt" + fi + + #export PWLIBDIR=${S} + + econf + 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 + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + dodir /usr/share/pwlib/lib + for x in ptlib.h ptbuildopts.h ptlib ptclib; do + dosym /usr/include/${x} /usr/share/pwlib/include/${x} + done + 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 + sed -i -e "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" ${D}/usr/bin/ptlib-config + sed -i -e "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" ${D}/usr/share/pwlib/make/ptbuildopts.mak + + # strip out -L/usr/lib to allow upgrades + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${D}/usr/share/pwlib/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${D}/usr/bin/ptlib-config + + dodoc ReadMe.txt History.txt +} |