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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jul 20 16:41:51 2002 UTC (13 years ago) by raker
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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.13.ebuild,v 1.4 2002/07/11 06:30:21 drobbins Exp $
4
5 S="${WORKDIR}/${PN}"
6 DESCRIPTION="Libs needed for GnomeMeeting"
7 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
8 HOMEPAGE="http://www.openh323.org"
9
10 DEPEND="virtual/glibc
11 >=sys-devel/bison-1.28
12 >=sys-devel/flex-2.5.4a"
13
14 src_compile() {
15
16 cd ${S}
17 export PWLIBDIR=${S}
18 export PWLIB_BUILD="yes"
19 make optshared || die
20
21 cd tools/asnparser
22 make optshared || die
23
24 }
25
26 src_install() {
27
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_linux_x86_r.so.1.2.12 libpt.so
52
53 }
54
55
56 #pkg_postinst() {
57 #
58 # cd /usr/share/pwlib
59 # ln -sf /usr/lib lib
60 # ln -sf /usr/include/pwlib include
61
62 #}

  ViewVC Help
Powered by ViewVC 1.1.20