Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-voip/gnugk/
Date: Tue, 03 May 2016 17:35:40
Message-Id: 1462296102.19cb1eafd58e36a0381d016689b065ab9253421d.wizardedit@gentoo
1 commit: 19cb1eafd58e36a0381d016689b065ab9253421d
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 17:20:07 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 17:21:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19cb1eaf
7
8 net-voip/gnugk: remove old version
9
10 Package-Manager: portage-2.2.26
11
12 net-voip/gnugk/gnugk-3.4.ebuild | 125 ----------------------------------------
13 1 file changed, 125 deletions(-)
14
15 diff --git a/net-voip/gnugk/gnugk-3.4.ebuild b/net-voip/gnugk/gnugk-3.4.ebuild
16 deleted file mode 100644
17 index 1ca38ee..0000000
18 --- a/net-voip/gnugk/gnugk-3.4.ebuild
19 +++ /dev/null
20 @@ -1,125 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI="5"
26 -
27 -inherit eutils versionator
28 -
29 -MY_P1=${PN}-$(replace_version_separator 2 -)
30 -MY_P2=${PN}-$(get_version_component_range 1-2)
31 -
32 -DESCRIPTION="GNU H.323 gatekeeper"
33 -HOMEPAGE="http://www.gnugk.org/"
34 -SRC_URI="mirror://sourceforge/openh323gk/${MY_P1}.tar.gz"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -# dev-db/firebird isn't keyworded for ppc but firebird IUSE is masked for ppc
39 -KEYWORDS="~amd64 ~ppc ~x86"
40 -IUSE="doc firebird lua mysql odbc postgres radius snmp sqlite ssh linguas_en linguas_es linguas_fr"
41 -REQUIRED_USE="doc? (
42 - || ( linguas_en linguas_es linguas_fr )
43 - )
44 -"
45 -
46 -RDEPEND="net-libs/ptlib:=
47 - net-libs/h323plus:=
48 - dev-libs/openssl
49 - firebird? ( dev-db/firebird )
50 - lua? ( dev-lang/lua )
51 - mysql? ( virtual/mysql )
52 - odbc? ( dev-db/unixODBC )
53 - postgres? ( dev-db/postgresql )
54 - snmp? ( net-analyzer/net-snmp )
55 - ssh? ( net-libs/libssh )
56 - sqlite? ( dev-db/sqlite:3 )"
57 -DEPEND="${RDEPEND}
58 - doc? ( app-text/linuxdoc-tools )"
59 -
60 -S=${WORKDIR}/${MY_P2}
61 -
62 -src_prepare() {
63 - epatch "${FILESDIR}"/${PN}-3.4-ptrace.patch
64 - epatch "${FILESDIR}"/${PN}-3.2.2-h323plus-buildopts.patch
65 - epatch "${FILESDIR}"/${PN}-3.2.2-lua.cxx-toolkit_h.patch
66 -}
67 -
68 -# TODO: investigate possible ebuild conversion to use cmake
69 -src_configure() {
70 - # --with-large-fdset=4096 is added because of bug #128102
71 - # and it is recommended in the online manual
72 - econf \
73 - $(use_enable firebird) \
74 - $(use_enable lua) \
75 - $(use_enable mysql) \
76 - $(use_enable postgres pgsql) \
77 - $(use_enable odbc unixodbc) \
78 - $(use_enable radius) \
79 - $(use_enable snmp netsnmp) \
80 - $(use_enable sqlite) \
81 - $(use_enable ssh libssh) \
82 - --with-large-fdset=4096
83 -}
84 -
85 -src_compile() {
86 - # PASN_NOPRINT should be set for -debug but it's buggy
87 - # better to prevent issues and keep default settings
88 - # `make debugdepend debugshared` and `make debug` failed (so no debug)
89 - # `make optdepend optnoshared` also failed (so no static)
90 -
91 - # splitting emake calls fixes parallel build issue
92 - emake optdepend
93 - emake \
94 - PT_LIBDIR="$(ptlib-config --libdir)" \
95 - OH323_LIBDIR="${EPREFIX}"/usr/lib \
96 - optshared
97 - # build tool addpasswd
98 - emake -C addpasswd PTLIBDIR="$(ptlib-config --ptlibdir)"
99 -
100 - if use doc; then
101 - cd docs/manual
102 -
103 - if use linguas_en; then
104 - emake html
105 - fi
106 -
107 - if use linguas_es; then
108 - emake html-es
109 - fi
110 -
111 - if use linguas_fr; then
112 - emake html-fr
113 - fi
114 - cd ../..
115 - fi
116 -}
117 -
118 -src_install() {
119 - dosbin obj_*_*_*/${PN}
120 - dosbin addpasswd/obj_*_*_*/addpasswd
121 -
122 - dodir /etc/${PN}
123 - insinto /etc/${PN}
124 - doins etc/*
125 -
126 - dodoc changes.txt readme.txt
127 - dodoc docs/*.txt docs/*.pdf
128 -
129 - if use doc; then
130 - if use linguas_en; then
131 - dohtml docs/manual/manual*.html
132 - fi
133 - if use linguas_fr; then
134 - dohtml docs/manual/fr/manual-fr*.html
135 - fi
136 - if use linguas_es; then
137 - dohtml docs/manual/es/manual-es*.html
138 - fi
139 - fi
140 -
141 - doman docs/${PN}.1 docs/addpasswd.1
142 -
143 - newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
144 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
145 -}