/[gentoo-x86]/net-libs/openh323/openh323-1.11.2.ebuild
Gentoo

Contents of /net-libs/openh323/openh323-1.11.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jun 18 13:56:02 2003 UTC (12 years, 1 month ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
cleanup

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/net-libs/openh323/openh323-1.11.2.ebuild,v 1.3 2003/02/13 14:21:04 vapier Exp $
4
5 IUSE="ssl"
6 S="${WORKDIR}/${PN}"
7 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
8 HOMEPAGE="http://www.openh323.org"
9 DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol"
10 DEPEND="=dev-libs/pwlib-1.4.7*
11 ssl? ( dev-libs/openssl )"
12 SLOT="0"
13 LICENSE="MPL-1.1"
14 KEYWORDS="x86 ~ppc -sparc "
15
16 src_compile() {
17 export PWLIBDIR=/usr/share/pwlib
18 export OPENH323DIR=${S}
19 if [ "`use ssl`" ]; then
20 export OPENSSLFLAG=1
21 export OPENSSLDIR=/usr
22 export OPENSSLLIBS="-lssl -lcrypt"
23 fi
24 make optshared || die
25 }
26
27 src_install() {
28
29 dodir /usr/lib /usr/share/openh323
30
31 cd ${S}/lib
32 mv lib* ${D}/usr/lib
33
34 cd ${S}
35 cp -a * ${D}/usr/share/openh323
36 rm -rf ${D}/usr/share/openh323/make/CVS
37 rm -rf ${D}/usr/share/openh323/tools/CVS
38 rm -rf ${D}/usr/share/openh323/tools/asnparser/CVS
39 rm -rf ${D}/usr/share/openh323/src
40 rm -rf ${D}/usr/share/openh323/include/CVS
41 rm -rf ${D}/usr/share/openh323/include/ptlib/unix/CVS
42 rm -rf ${D}/usr/share/openh323/include/ptlib/CVS
43
44 cd ${D}/usr/lib
45 if [ ${ARCH} = "ppc" ] ; then
46 ln -sf libh323_linux_ppc_r.so.${PV} libopenh323.so
47 else
48 ln -sf libh323_linux_x86_r.so.${PV} libopenh323.so
49 fi
50
51
52 }

  ViewVC Help
Powered by ViewVC 1.1.20