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

Contents of /net-im/ohphone/ohphone-1.14.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 17 17:15:49 2007 UTC (7 years, 6 months ago) by dirtyepic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removal of net-im/ohphone for liquidx by treecleaners (bug #105670).

1 # Copyright 1999-2006 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.14.4.ebuild,v 1.1 2006/10/19 20:35:00 genstef Exp $
4
5 inherit eutils
6
7 MY_PV="v${PV//./_}"
8
9 DESCRIPTION="Command line H.323 client"
10 HOMEPAGE="http://www.openh323.org/"
11 SRC_URI="http://www.voxgratia.org/releases/ohphone-${MY_PV}-src-tar.gz"
12
13 LICENSE="MPL-1.0"
14 SLOT="0"
15 KEYWORDS="~ppc ~x86"
16 IUSE="X svga"
17
18 RDEPEND="
19 >=net-libs/openh323-1.15.6
20 >=dev-libs/pwlib-1.8.7
21 svga? ( media-libs/svgalib )"
22
23 S=${WORKDIR}/${PN}_${MY_PV}
24
25 src_unpack() {
26 tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Failed to unpack archive"
27
28 cd ${S}
29
30 use svga \
31 || sed -i -e "s:-lvga::" -e "s:-DHAS_VGALIB::" Makefile
32
33 # pwlib sets P_SDL 0 if sdl support isn't present,
34 # ohphone expects it to be undefined in that case...
35 epatch ${FILESDIR}/${PN}-1.14.4-pwlibsdl.diff
36 }
37
38 src_compile() {
39 local myopts
40
41 use X \
42 && myopts="${myopts} XINCDIR=/usr/X11R6/include XLIBDIR=/usr/X11R6/lib" \
43 || myopts="${myopts} XINCDIR=/dev/null XLIBDIR=/dev/null"
44
45 emake \
46 OPENH323DIR=/usr/share/openh323 \
47 PREFIX=/usr \
48 PWLIBDIR=/usr/share/pwlib \
49 PW_LIBDIR=/usr/lib \
50 OH323_LIBDIR=/usr/lib \
51 ${myopts} \
52 opt man || die
53 }
54
55 src_install() {
56 cd ${WORKDIR}/${PN}
57 doman ohphone.1
58
59 # fill in for other archs
60 if use x86; then
61 dobin obj_linux_x86_r/ohphone
62 elif use ppc; then
63 dobin obj_linux_ppc_r/ohphone
64 else
65 die "no binary available for your arch"
66 fi
67 }

  ViewVC Help
Powered by ViewVC 1.1.20