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

Contents of /net-misc/gnugk/gnugk-2.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 14 09:44:51 2007 UTC (12 years, 8 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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.1.ebuild,v 1.2 2005/07/30 00:33:14 stkn Exp $
4
5 IUSE="mysql postgres radius"
6
7 DESCRIPTION="GNU H.323 gatekeeper"
8 HOMEPAGE="http://www.gnugk.org/"
9 SRC_URI="mirror://sourceforge/openh323gk/gnugk-${PV}.tgz"
10
11 S=${WORKDIR}/openh323gk
12
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc"
15 LICENSE="GPL-2"
16
17 DEPEND="net-libs/openh323
18 mysql? ( dev-db/mysql++ )
19 postgres? ( dev-db/postgresql )"
20
21 src_compile() {
22 econf \
23 `use_enable mysql` \
24 `use_enable postgres sql` \
25 `use_enable radius` || die
26
27 emake optdepend opt addpasswd || die
28 }
29
30 src_install() {
31 dosbin obj_*_*_r/gnugk
32 dosbin obj_*_*_r/addpasswd
33
34 insinto /etc/gnugk
35 doins etc/*
36
37 dodoc changes.txt readme.txt copying docs/*
38 mv ${D}/etc/gnugk/*.pl ${D}/usr/share/doc/${PF}
39
40 docinto old
41 dodoc docs/old/*
42
43 newinitd ${FILESDIR}/gnugk.rc6 gnugk
44 newconfd ${FILESDIR}/gnugk.confd gnugk
45 }

  ViewVC Help
Powered by ViewVC 1.1.20