Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/tntnet: ChangeLog tntnet-1.6.2.ebuild
Date: Tue, 06 May 2008 14:20:11
Message-Id: E1JtO1Y-0004Ug-0t@stork.gentoo.org
1 zzam 08/05/06 14:20:08
2
3 Modified: ChangeLog
4 Added: tntnet-1.6.2.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.7 dev-libs/tntnet/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tntnet/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tntnet/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tntnet/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 23 Jan 2008 21:29:13 -0000 1.6
23 +++ ChangeLog 6 May 2008 14:20:07 -0000 1.7
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/tntnet
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.6 2008/01/23 21:29:13 hd_brummy Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.7 2008/05/06 14:20:07 zzam Exp $
29 +
30 +*tntnet-1.6.2 (06 May 2008)
31 +
32 + 06 May 2008; Matthias Schwarzott <zzam@g.o> +tntnet-1.6.2.ebuild:
33 + Version bumped.
34
35 23 Jan 2008; Joerg Bornkessel <hd_brummy@g.o>
36 tntnet-1.6.0-r1.ebuild, tntnet-1.6.1.ebuild:
37
38
39
40 1.1 dev-libs/tntnet/tntnet-1.6.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tntnet/tntnet-1.6.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tntnet/tntnet-1.6.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tntnet-1.6.2.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-1.6.2.ebuild,v 1.1 2008/05/06 14:20:07 zzam Exp $
50
51 DESCRIPTION="A modular, multithreaded webapplicationserver extensible with C++."
52 HOMEPAGE="http://www.tntnet.org/index.hms"
53 SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
54
55 LICENSE="GPL-2"
56 SLOT="0"
57 KEYWORDS="~amd64 ~x86"
58 IUSE="ssl gnutls examples"
59
60 RDEPEND="dev-libs/cxxtools
61 sys-libs/zlib
62 ssl? (
63 gnutls? ( >=net-libs/gnutls-1.2.0 )
64 !gnutls? ( dev-libs/openssl )
65 )"
66 DEPEND="${RDEPEND}
67 app-arch/zip"
68
69 src_compile() {
70 local myconf=""
71 if use ssl; then
72 if use gnutls; then
73 einfo "Using gnutls for ssl support."
74 myconf="${myconf} --with-ssl=gnutls"
75 else
76 einfo "Using openssl for ssl support."
77 myconf="${myconf} --with-ssl=openssl"
78 fi
79 else
80 einfo "Disabled ssl"
81 myconf="${myconf} --with-ssl=no"
82 fi
83 if use examples; then
84 myconf="${myconf} --with-demos=yes"
85 else
86 myconf="${myconf} --with-demos=no"
87 fi
88
89 econf ${myconf} || die "econf failed"
90 emake || die "emake failed"
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die "Install failed"
95 dodoc AUTHORS ChangeLog README TODO doc/*.pdf
96
97 if use examples; then
98 cd "${S}/sdk/demos"
99 make clean
100 rm -rf .deps */.deps .libs */.libs
101
102 local dir="/usr/share/doc/${PF}/examples"
103 dodir "${dir}"
104 cp -r "${S}"/sdk/demos/* "${D}${dir}"
105 fi
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list