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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Apr 1 02:50:24 2003 UTC (11 years, 3 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
edging closer to solving all our pwlib/openh323 problems

1 # Copyright 1999-2003 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.3.11.ebuild,v 1.7 2003/02/13 10:50:51 vapier Exp $
4
5 S=${WORKDIR}/${PN}
6
7 IUSE="ssl"
8
9 DESCRIPTION="Libs needed for GnomeMeeting"
10 HOMEPAGE="http://www.openh323.org"
11 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
12
13 SLOT="0"
14 LICENSE="MPL-1.1"
15 KEYWORDS="x86 -ppc -sparc "
16
17 DEPEND=">=sys-devel/bison-1.28
18 >=sys-devel/flex-2.5.4a
19 dev-libs/expat
20 ssl? ( dev-libs/openssl )"
21
22 src_unpack() {
23
24 unpack ${A}
25 cd ${S}
26 # Removes optimizations from unix make options
27 # Allows the users make.conf to set optimization level
28 patch -p1 < ${FILESDIR}/opts.diff || die
29
30 }
31
32 src_compile() {
33
34 export PWLIBDIR=${S}
35 export PWLIB_BUILD="yes"
36
37 # This is marked in the readme under the win32 instructions
38 # It seems to work for us *nix folk though...
39 if [ "`use ssl`" ]; then
40 export OPENSSLFLAG=1
41 export OPENSSLDIR=/usr
42 export OPENSSLLIBS="-lssl -lcrypt"
43 fi
44
45 make optshared || die
46
47 cd tools/asnparser
48 make optshared || die
49
50 }
51
52 src_install() {
53
54 dodir /usr/lib /usr/include/ptlib/unix/ptlib /usr/share/pwlib
55
56 cd ${S}
57 cp -a lib/*so* ${D}/usr/lib
58 cp -a include/ptlib.h ${D}/usr/include
59 cp -a include/ptlib/*.h ${D}/usr/include/ptlib/
60 cp -a include/ptlib/*.inl ${D}/usr/include/ptlib/
61 cp -a include/ptlib/unix/ptlib/*.h ${D}/usr/include/ptlib/unix/ptlib
62 cp -a include/ptlib/unix/ptlib/*.inl ${D}/usr/include/ptlib/unix/ptlib
63 cp -a include/ptclib/*.h ${D}/usr/include/ptclib/
64
65 cp -a * ${D}/usr/share/pwlib/
66 rm -rf ${D}/usr/share/pwlib/make/CVS
67 rm -rf ${D}/usr/share/pwlib/tools/CVS
68 rm -rf ${D}/usr/share/pwlib/tools/asnparser/CVS
69 rm -rf ${D}/usr/share/pwlib/src
70 rm -rf ${D}/usr/share/pwlib/include/CVS
71 rm -rf ${D}/usr/share/pwlib/include/ptlib/unix/CVS
72 rm -rf ${D}/usr/share/pwlib/include/ptlib/CVS
73
74 cd ${D}/usr/lib
75 ln -sf libpt_linux_x86_r.so.${PV} libpt.so
76
77 }

  ViewVC Help
Powered by ViewVC 1.1.20