summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-06-06 18:39:55 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-06-06 18:39:55 +0000
commitc942532ea03f72ee472b1b1a17ee74a690b2dd86 (patch)
tree8fcd08208808050f51e5951034ab1b242e9e4078 /dev-libs/tntnet
parentVersion bumped. (diff)
downloadgentoo-2-c942532ea03f72ee472b1b1a17ee74a690b2dd86.tar.gz
gentoo-2-c942532ea03f72ee472b1b1a17ee74a690b2dd86.tar.bz2
gentoo-2-c942532ea03f72ee472b1b1a17ee74a690b2dd86.zip
Version bumped, Bug #225127
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-libs/tntnet')
-rw-r--r--dev-libs/tntnet/ChangeLog7
-rw-r--r--dev-libs/tntnet/tntnet-1.6.3.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/tntnet/ChangeLog b/dev-libs/tntnet/ChangeLog
index 1bf2b6a7dd91..30fa6d407192 100644
--- a/dev-libs/tntnet/ChangeLog
+++ b/dev-libs/tntnet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/tntnet
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.7 2008/05/06 14:20:07 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.8 2008/06/06 18:39:55 zzam Exp $
+
+*tntnet-1.6.3 (06 Jun 2008)
+
+ 06 Jun 2008; Matthias Schwarzott <zzam@gentoo.org> +tntnet-1.6.3.ebuild:
+ Version bumped, Bug #225127
*tntnet-1.6.2 (06 May 2008)
diff --git a/dev-libs/tntnet/tntnet-1.6.3.ebuild b/dev-libs/tntnet/tntnet-1.6.3.ebuild
new file mode 100644
index 000000000000..796d4927efeb
--- /dev/null
+++ b/dev-libs/tntnet/tntnet-1.6.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-1.6.3.ebuild,v 1.1 2008/06/06 18:39:55 zzam Exp $
+
+DESCRIPTION="A modular, multithreaded webapplicationserver extensible with C++."
+HOMEPAGE="http://www.tntnet.org/index.hms"
+SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl gnutls examples"
+
+RDEPEND="dev-libs/cxxtools
+ sys-libs/zlib
+ ssl? (
+ gnutls? ( >=net-libs/gnutls-1.2.0 )
+ !gnutls? ( dev-libs/openssl )
+ )"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+src_compile() {
+ local myconf=""
+ if use ssl; then
+ if use gnutls; then
+ einfo "Using gnutls for ssl support."
+ myconf="${myconf} --with-ssl=gnutls"
+ else
+ einfo "Using openssl for ssl support."
+ myconf="${myconf} --with-ssl=openssl"
+ fi
+ else
+ einfo "Disabled ssl"
+ myconf="${myconf} --with-ssl=no"
+ fi
+ if use examples; then
+ myconf="${myconf} --with-demos=yes"
+ else
+ myconf="${myconf} --with-demos=no"
+ fi
+
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc AUTHORS ChangeLog README TODO doc/*.pdf
+
+ if use examples; then
+ cd "${S}/sdk/demos"
+ make clean
+ rm -rf .deps */.deps .libs */.libs
+
+ local dir="/usr/share/doc/${PF}/examples"
+ dodir "${dir}"
+ cp -r "${S}"/sdk/demos/* "${D}${dir}"
+ fi
+}