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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Apr 1 02:50:25 2003 UTC (11 years, 5 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +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.3.ebuild,v 1.6 2003/02/13 10:50:55 vapier Exp $
4
5 DESCRIPTION="Libs needed for GnomeMeeting"
6 HOMEPAGE="http://www.openh323.org/"
7 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
8
9 SLOT="0"
10 LICENSE="MPL-1.1"
11 KEYWORDS="x86 -ppc -sparc "
12
13 DEPEND=">=sys-devel/bison-1.28
14 >=sys-devel/flex-2.5.4a"
15
16 S=${WORKDIR}/${PN}
17
18 src_unpack() {
19 unpack ${A}
20 cd ${S}
21 # Removes optimizations from unix make options
22 # Allows the users make.conf to set optimization level
23 patch -p1 < ${FILESDIR}/opts.diff || die
24 }
25
26 src_compile() {
27 export PWLIBDIR=${S}
28 export PWLIB_BUILD="yes"
29 make optshared || die
30 cd tools/asnparser
31 make optshared || die
32 }
33
34 src_install() {
35 dodir /usr/lib
36 dodir /usr/include/ptclib
37 dodir /usr/include/ptlib/unix/ptlib
38 dodir /usr/share/pwlib
39 cd ${S}
40 cp -a lib/*so* ${D}/usr/lib
41 cp -a include/ptlib.h ${D}/usr/include
42 cp -a include/ptlib/*.h ${D}/usr/include/ptlib/
43 cp -a include/ptlib/*.inl ${D}/usr/include/ptlib/
44 cp -a include/ptlib/unix/ptlib/*.h ${D}/usr/include/ptlib/unix/ptlib
45 cp -a include/ptlib/unix/ptlib/*.inl ${D}/usr/include/ptlib/unix/ptlib
46 cp -a include/ptclib/*.h ${D}/usr/include/ptclib/
47
48 cp -a * ${D}/usr/share/pwlib/
49 rm -rf ${D}/usr/share/pwlib/make/CVS
50 #cp -a tools/* ${D}/usr/share/pwlib/tools/
51 rm -rf ${D}/usr/share/pwlib/tools/CVS
52 rm -rf ${D}/usr/share/pwlib/tools/asnparser/CVS
53 rm -rf ${D}/usr/share/pwlib/src
54 rm -rf ${D}/usr/share/pwlib/include/CVS
55 rm -rf ${D}/usr/share/pwlib/include/ptlib/unix/CVS
56 rm -rf ${D}/usr/share/pwlib/include/ptlib/CVS
57 cd ${D}/usr/lib
58 ln -sf libpt_linux_x86_r.so.${PV} libpt.so
59 }

  ViewVC Help
Powered by ViewVC 1.1.20