diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/tntnet/tntnet-2.2.1-r1.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/tntnet/tntnet-2.2.1-r1.ebuild')
-rw-r--r-- | dev-libs/tntnet/tntnet-2.2.1-r1.ebuild | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild b/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild deleted file mode 100644 index cc25ab03fdfb..000000000000 --- a/dev-libs/tntnet/tntnet-2.2.1-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -DESCRIPTION="Modular, multithreaded web application server extensible with C++" -HOMEPAGE="http://www.tntnet.org/" -SRC_URI="http://www.tntnet.org/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~sparc ~x86" -IUSE="doc gnutls libressl server ssl examples" - -RDEPEND=">=dev-libs/cxxtools-2.2.1 - sys-libs/zlib[minizip] - ssl? ( - gnutls? ( - >=net-libs/gnutls-1.2.0 - dev-libs/libgcrypt:0 - ) - !gnutls? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - app-arch/zip" - -src_prepare() { - # Both fixed in the next release - epatch "${FILESDIR}"/${PN}-2.0-zlib-minizip.patch - rm framework/common/{ioapi,unzip}.[ch] || die - - # bug 423697 - sed -e "s:unzip.h:minizip/unzip.h:" -i framework/defcomp/unzipcomp.cpp - - eautoreconf - - sed -i -e 's:@localstatedir@:/var:' etc/tntnet/tntnet.xml.in || die -} - -src_configure() { - local myconf="" - - # Prefer gnutls above SSL - if use gnutls; then - einfo "Using gnutls for ssl support." - myconf="${myconf} --with-ssl=gnutls" - elif use ssl; then - einfo "Using openssl for ssl support." - myconf="${myconf} --with-ssl=openssl" - else - myconf="${myconf} --with-ssl=no" - fi - - # default enabled, will not compile without sdk - myconf="${myconf} --with-sdk" - - econf \ - $(use_with server) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog README TODO - if use doc; then - dodoc doc/*.pdf || die - fi - - if use examples; then - cd "${S}/sdk/demos" - emake clean - rm -rf .deps */.deps .libs */.libs - cd "${S}" - - insinto /usr/share/doc/${PF}/examples - doins -r sdk/demos/* || die - fi - - if use server; then - rm -f "${D}/etc/init.d/tntnet" - newinitd "${FILESDIR}/tntnet.initd" tntnet - fi -} |