diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-03-20 00:38:55 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-03-20 00:38:55 +0000 |
commit | 455bddf6cfba1c4a941bab92f1a872d2264b1316 (patch) | |
tree | b5dd23d5de886eff1a00fe27bcaa0529d5b5fe13 /dev-libs | |
parent | version bump (diff) | |
download | historical-455bddf6cfba1c4a941bab92f1a872d2264b1316.tar.gz historical-455bddf6cfba1c4a941bab92f1a872d2264b1316.tar.bz2 historical-455bddf6cfba1c4a941bab92f1a872d2264b1316.zip |
version bump
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/pwlib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.4.11 | 1 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.4.11.ebuild | 91 |
3 files changed, 98 insertions, 1 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog index 1fee217a1ef5..1e765c56164a 100644 --- a/dev-libs/pwlib/ChangeLog +++ b/dev-libs/pwlib/ChangeLog @@ -1,6 +1,11 @@ # 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.20 2003/03/07 00:31:33 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.21 2003/03/20 00:38:55 liquidx Exp $ + +*pwlib-1.4.11 (20 Mar 2003) + + 20 Mar 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild: + version bump *pwlib-1.4.10 (06 Mar 2003) diff --git a/dev-libs/pwlib/files/digest-pwlib-1.4.11 b/dev-libs/pwlib/files/digest-pwlib-1.4.11 new file mode 100644 index 000000000000..1233ca7de038 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.4.11 @@ -0,0 +1 @@ +MD5 4abf0cd2fcad799e45d3d733efdca780 pwlib_1.4.11.tar.gz 964386 diff --git a/dev-libs/pwlib/pwlib-1.4.11.ebuild b/dev-libs/pwlib/pwlib-1.4.11.ebuild new file mode 100644 index 000000000000..b8a2352784ce --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.4.11.ebuild @@ -0,0 +1,91 @@ +# 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.4.11.ebuild,v 1.1 2003/03/20 00:38:55 liquidx Exp $ + +S=${WORKDIR}/${PN} + +IUSE="ssl" + +DESCRIPTION="Libs needed for GnomeMeeting" +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 + ssl? ( dev-libs/openssl )" + +src_unpack() { + ewarn "" + ewarn "Your compile WILL fail if you are upgrading from" + ewarn "a previous version of pwlib." + ewarn "" + ewarn "emerge unmerge pwlib" + ewarn "BEFORE upgrading to a newer version" + ewarn "" + ewarn "You have been warned :)" + ewarn "" + sleep 5 + + unpack ${A} + cd ${S}/make + cp unix.mak unix.mak.orig + sed \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + < unix.mak.orig > unix.mak +} + +src_compile() { + + export PWLIBDIR=${S} + export PWLIB_BUILD="yes" + + if [ "`use ssl`" ]; then + export OPENSSLFLAG=1 + export OPENSSLDIR=/usr + export OPENSSLLIBS="-lssl -lcrypt" + fi + + make optshared || die + + cd tools/asnparser + make optshared || die + +} + +src_install() { + + dodir /usr/lib /usr/include/ptlib/unix/ptlib \ + /usr/share/pwlib /usr/include/ptclib + + cd ${S} + cp -a lib/*so* ${D}/usr/lib + cp -a include/ptlib.h ${D}/usr/include + cp -a include/ptlib/*.h ${D}/usr/include/ptlib/ + cp -a include/ptlib/*.inl ${D}/usr/include/ptlib/ + cp -a include/ptlib/unix/ptlib/*.h ${D}/usr/include/ptlib/unix/ptlib + cp -a include/ptlib/unix/ptlib/*.inl ${D}/usr/include/ptlib/unix/ptlib + cp -a include/ptclib/*.h ${D}/usr/include/ptclib/ + + cp -a * ${D}/usr/share/pwlib/ + rm -rf ${D}/usr/share/pwlib/make/CVS + rm -rf ${D}/usr/share/pwlib/tools/CVS + rm -rf ${D}/usr/share/pwlib/tools/asnparser/CVS + rm -rf ${D}/usr/share/pwlib/src + rm -rf ${D}/usr/share/pwlib/include/CVS + rm -rf ${D}/usr/share/pwlib/include/ptlib/unix/CVS + rm -rf ${D}/usr/share/pwlib/include/ptlib/CVS + + cd ${D}/usr/lib + if [ ${ARCH} = "ppc" ] ; then + ln -sf libpt_linux_ppc_r.so.${PV} libpt.so + else + ln -sf libpt_linux_x86_r.so.${PV} libpt.so + fi + +} |