diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-05-06 14:20:07 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-05-06 14:20:07 +0000 |
commit | 9ba69d7febf9b67d52d39dfbf6ea74e3670e485c (patch) | |
tree | fc378bda8112cb890c491b82c30b001ae7b803d1 | |
parent | New revision compiles with gcc-4.3 and libsigc++-2.2 (see bug #220493). (diff) | |
download | gentoo-2-9ba69d7febf9b67d52d39dfbf6ea74e3670e485c.tar.gz gentoo-2-9ba69d7febf9b67d52d39dfbf6ea74e3670e485c.tar.bz2 gentoo-2-9ba69d7febf9b67d52d39dfbf6ea74e3670e485c.zip |
Version bumped.
(Portage version: 2.1.5_rc6)
-rw-r--r-- | dev-libs/tntnet/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/tntnet/tntnet-1.6.2.ebuild | 60 |
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-libs/tntnet/ChangeLog b/dev-libs/tntnet/ChangeLog index 2b1322b0db5f..1bf2b6a7dd91 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.6 2008/01/23 21:29:13 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.7 2008/05/06 14:20:07 zzam Exp $ + +*tntnet-1.6.2 (06 May 2008) + + 06 May 2008; Matthias Schwarzott <zzam@gentoo.org> +tntnet-1.6.2.ebuild: + Version bumped. 23 Jan 2008; Joerg Bornkessel <hd_brummy@gentoo.org> tntnet-1.6.0-r1.ebuild, tntnet-1.6.1.ebuild: diff --git a/dev-libs/tntnet/tntnet-1.6.2.ebuild b/dev-libs/tntnet/tntnet-1.6.2.ebuild new file mode 100644 index 000000000000..cb555094a57f --- /dev/null +++ b/dev-libs/tntnet/tntnet-1.6.2.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.2.ebuild,v 1.1 2008/05/06 14:20:07 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 +} |