/[gentoo-x86]/net-im/ohphone/ohphone-1.4.1-r1.ebuild
Gentoo

Contents of /net-im/ohphone/ohphone-1.4.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Oct 19 20:35:11 2006 UTC (8 years, 1 month ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
version bump from voip overlay
(Portage version: 2.1.2_pre3-r5)
 (Unsigned Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/ohphone/ohphone-1.4.1-r1.ebuild,v 1.8 2005/06/30 17:18:55 agriffis Exp $
4
5 DESCRIPTION="Command line H.323 client"
6 HOMEPAGE="http://www.openh323.org/"
7 SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
8
9 LICENSE="MPL-1.0"
10 SLOT="0"
11 KEYWORDS="~x86 ~ppc"
12 IUSE="X svga"
13
14 DEPEND=">=net-libs/openh323-1.12.2
15 >=dev-libs/pwlib-1.5.2
16 X? ( virtual/x11 )
17 svga? ( media-libs/svgalib )"
18
19 S=${WORKDIR}/${PN}
20
21 src_unpack() {
22 unpack ${A}
23
24 use svga \
25 || sed -e "s:-lvga::" -e "s:-DHAS_VGALIB::" -i ${S}/Makefile \
26 || die "failed to turn off SVGAlib support"
27 }
28
29 src_compile() {
30 local myopts
31
32 use X \
33 && myopts="${myopts} XINCDIR=/usr/X11R6/include XLIBDIR=/usr/X11R6/lib" \
34 || myopts="${myopts} XINCDIR=/dev/null XLIBDIR=/dev/null"
35
36 emake \
37 OPENH323DIR=/usr/share/openh323 \
38 PREFIX=/usr \
39 PWLIBDIR=/usr/share/pwlib \
40 PW_LIBDIR=/usr/lib \
41 OH323_LIBDIR=/usr/lib \
42 ${myopts} \
43 opt man || die
44 }
45
46 src_install() {
47 cd ${WORKDIR}/${PN}
48 doman ohphone.1
49
50 # fill in for other archs
51 if use x86; then
52 dobin obj_linux_x86_r/ohphone
53 elif use ppc; then
54 dobin obj_linux_ppc_r/ohphone
55 else
56 die "no binary available for your arch"
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20