/[gentoo-x86]/dev-libs/pwlib/pwlib-1.2.19.ebuild
Gentoo

Contents of /dev-libs/pwlib/pwlib-1.2.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 20 16:41:51 2002 UTC (12 years, 1 month ago) by raker
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Updated to latest version of pwlib to coincide with release of
gnomemeeting 0.93.0.  Re-SLOT'ed to "0".

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.2.19.ebuild,v 1.1 2002/07/05 19:40:49 raker Exp $
4
5 S="${WORKDIR}/${PN}"
6 DESCRIPTION="Libs needed for GnomeMeeting"
7 SRC_URI="http://www.gnomemeeting.org/downloads/latest/sources/${PN}_${PV}.tar.gz"
8 HOMEPAGE="http://www.openh323.org"
9 DEPEND="virtual/glibc >=sys-devel/bison-1.28 >=sys-devel/flex-2.5.4a"
10 SLOT="1.2"
11
12 src_unpack() {
13 unpack ${A}
14 cd ${S}
15 patch -p1 < ${FILESDIR}/pwlib-1.2.20.diff || die
16 }
17
18 src_compile() {
19 cd ${S}
20 export PWLIBDIR=${S}
21 export PWLIB_BUILD="yes"
22 make optshared || die
23 cd tools/asnparser
24 make optshared || die
25 }
26
27 src_install() {
28 mkdir -p ${D}/usr/lib
29 mkdir -p ${D}/usr/include/ptclib
30 mkdir -p ${D}/usr/include/ptlib/unix/ptlib
31 mkdir -p ${D}/usr/share/pwlib
32 cd ${S}
33 cp -a lib/*so* ${D}/usr/lib
34 cp -a include/ptlib.h ${D}/usr/include
35 cp -a include/ptlib/*.h ${D}/usr/include/ptlib/
36 cp -a include/ptlib/*.inl ${D}/usr/include/ptlib/
37 cp -a include/ptlib/unix/ptlib/*.h ${D}/usr/include/ptlib/unix/ptlib
38 cp -a include/ptlib/unix/ptlib/*.inl ${D}/usr/include/ptlib/unix/ptlib
39 cp -a include/ptclib/*.h ${D}/usr/include/ptclib/
40
41 cp -a * ${D}/usr/share/pwlib/
42 rm -rf ${D}/usr/share/pwlib/make/CVS
43 #cp -a tools/* ${D}/usr/share/pwlib/tools/
44 rm -rf ${D}/usr/share/pwlib/tools/CVS
45 rm -rf ${D}/usr/share/pwlib/tools/asnparser/CVS
46 rm -rf ${D}/usr/share/pwlib/src
47 rm -rf ${D}/usr/share/pwlib/include/CVS
48 rm -rf ${D}/usr/share/pwlib/include/ptlib/unix/CVS
49 rm -rf ${D}/usr/share/pwlib/include/ptlib/CVS
50 cd ${D}/usr/lib
51 ln -sf libpt.so.${PV} libpt.so
52 }

  ViewVC Help
Powered by ViewVC 1.1.20