/[gentoo-x86]/net-im/ohphone/ohphone-1.4.3_pre20050304.ebuild
Gentoo

Contents of /net-im/ohphone/ohphone-1.4.3_pre20050304.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 19 20:35:11 2006 UTC (8 years ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.3_pre20050304.ebuild,v 1.1 2005/07/06 10:28:48 liquidx Exp $
4
5 PV_PRE=${PV#*_pre}
6 PV_MAJOR=${PV%_pre*}
7
8 DESCRIPTION="Command line H.323 client"
9 HOMEPAGE="http://www.openh323.org/"
10 SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV_MAJOR}+${PV_PRE}.orig.tar.gz"
11
12 LICENSE="MPL-1.0"
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc"
15 IUSE="X svga"
16
17 DEPEND=">=net-libs/openh323-1.12.2
18 >=dev-libs/pwlib-1.8.3
19 X? ( virtual/x11 )
20 svga? ( media-libs/svgalib )"
21
22 S=${WORKDIR}/${PN}
23
24 src_unpack() {
25 unpack ${A}
26
27 use svga \
28 || sed -e "s:-lvga::" -e "s:-DHAS_VGALIB::" -i ${S}/Makefile \
29 || die "failed to turn off SVGAlib support"
30 }
31
32 src_compile() {
33 local myopts
34
35 use X \
36 && myopts="${myopts} XINCDIR=/usr/X11R6/include XLIBDIR=/usr/X11R6/lib" \
37 || myopts="${myopts} XINCDIR=/dev/null XLIBDIR=/dev/null"
38
39 emake \
40 OPENH323DIR=/usr/share/openh323 \
41 PREFIX=/usr \
42 PWLIBDIR=/usr/share/pwlib \
43 PW_LIBDIR=/usr/lib \
44 OH323_LIBDIR=/usr/lib \
45 ${myopts} \
46 opt man || die
47 }
48
49 src_install() {
50 cd ${WORKDIR}/${PN}
51 doman ohphone.1
52
53 # fill in for other archs
54 if use x86; then
55 dobin obj_linux_x86_r/ohphone
56 elif use ppc; then
57 dobin obj_linux_ppc_r/ohphone
58 else
59 die "no binary available for your arch"
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20