/[gentoo-x86]/net-misc/gnugk/gnugk-2.2.3_p2.ebuild
Gentoo

Contents of /net-misc/gnugk/gnugk-2.2.3_p2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Apr 14 09:44:51 2007 UTC (12 years, 5 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
net-misc/linphone -> net-voip/linphone

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-misc/gnugk/gnugk-2.2.3_p2.ebuild,v 1.1 2005/09/04 22:23:51 stkn Exp $
4
5 IUSE="mysql postgres radius"
6
7 MY_P=${P/_p/-}
8
9 DESCRIPTION="GNU H.323 gatekeeper"
10 HOMEPAGE="http://www.gnugk.org/"
11 SRC_URI="mirror://sourceforge/openh323gk/${MY_P}.tar.gz"
12
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc"
15 LICENSE="GPL-2"
16
17 DEPEND="
18 >=dev-libs/pwlib-1.8.4
19 >=net-libs/openh323-1.15.3
20 mysql? ( dev-db/mysql++ )
21 postgres? ( dev-db/postgresql )"
22
23 S=${WORKDIR}/openh323gk-${PV/_p*}
24
25 src_compile() {
26 econf \
27 `use_enable mysql` \
28 `use_enable postgres sql` \
29 `use_enable radius` || die
30
31 emake optdepend opt addpasswd || die
32 }
33
34 src_install() {
35 dosbin obj_*_*_r/gnugk
36 dosbin obj_*_*_r/addpasswd
37
38 insinto /etc/gnugk
39 doins etc/*
40
41 dodoc changes.txt readme.txt copying docs/*.txt
42 mv ${D}/etc/gnugk/*.pl ${D}/usr/share/doc/${PF}
43
44 docinto old
45 dodoc docs/old/*
46
47 dodir /usr/share/doc/${PF}/contrib
48 cp -r contrib/sqlbill ${D}/usr/share/doc/${PF}/contrib
49
50 newinitd ${FILESDIR}/gnugk.rc6 gnugk
51 newconfd ${FILESDIR}/gnugk.confd gnugk
52 }

  ViewVC Help
Powered by ViewVC 1.1.20