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

Contents of /dev-libs/pwlib/pwlib-1.2.12-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Apr 11 13:10:50 2002 UTC (12 years, 3 months ago) by verwilst
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
new revision

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # Author Bart Verwilst <verwilst@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.2.12-r2.ebuild,v 1.3 2002/03/29 14:19:44 seemant Exp $
5
6 S="${WORKDIR}/pwlib"
7 SRC_URI="http://www.gnomemeeting.org/downloads/latest/sources/${PN}_${PV}.tar.gz"
8 DESCRIPTION="Libs needed for GnomeMeeting"
9
10 DEPEND="virtual/glibc
11 >=sys-devel/bison-1.28
12 >=sys-devel/flex-2.5.4a"
13
14 src_unpack() {
15
16 unpack pwlib_1.2.12.tar.gz
17 cd ${S}
18 patch -p0 < ${FILESDIR}/${PN}-gentoo.diff
19
20 }
21
22 src_compile() {
23
24 cd ${S}
25 export PWLIBDIR=${S}
26 export PWLIB_BUILD="yes"
27 make optshared || die
28
29 cd tools/asnparser
30 make optshared || die
31
32 }
33
34 src_install() {
35
36 mkdir -p ${D}/usr/lib
37 mkdir -p ${D}/usr/include/ptclib
38 mkdir -p ${D}/usr/include/ptlib/unix/ptlib
39 mkdir -p ${D}/usr/share/pwlib
40 cd ${S}
41 cp -a lib/*so* ${D}/usr/lib
42 cp -a include/ptlib.h ${D}/usr/include
43 cp -a include/ptlib/*.h ${D}/usr/include/ptlib/
44 cp -a include/ptlib/*.inl ${D}/usr/include/ptlib/
45 cp -a include/ptlib/unix/ptlib/*.h ${D}/usr/include/ptlib/unix/ptlib
46 cp -a include/ptlib/unix/ptlib/*.inl ${D}/usr/include/ptlib/unix/ptlib
47 cp -a include/ptclib/*.h ${D}/usr/include/ptclib/
48
49 cp -a * ${D}/usr/share/pwlib/
50 rm -rf ${D}/usr/share/pwlib/make/CVS
51 #cp -a tools/* ${D}/usr/share/pwlib/tools/
52 rm -rf ${D}/usr/share/pwlib/tools/CVS
53 rm -rf ${D}/usr/share/pwlib/tools/asnparser/CVS
54 rm -rf ${D}/usr/share/pwlib/src
55 rm -rf ${D}/usr/share/pwlib/include/CVS
56 rm -rf ${D}/usr/share/pwlib/include/ptlib/unix/CVS
57 rm -rf ${D}/usr/share/pwlib/include/ptlib/CVS
58 cd ${D}/usr/lib
59 ln -sf libpt_linux_x86_r.so.1.2.12 libpt.so
60
61 }
62
63
64 #pkg_postinst() {
65 #
66 # cd /usr/share/pwlib
67 # ln -sf /usr/lib lib
68 # ln -sf /usr/include/pwlib include
69
70 #}

  ViewVC Help
Powered by ViewVC 1.1.20