diff options
Diffstat (limited to 'net-irc/iroffer-dinoex')
-rw-r--r-- | net-irc/iroffer-dinoex/Manifest | 2 | ||||
-rw-r--r-- | net-irc/iroffer-dinoex/iroffer-dinoex-3.24.ebuild | 134 |
2 files changed, 136 insertions, 0 deletions
diff --git a/net-irc/iroffer-dinoex/Manifest b/net-irc/iroffer-dinoex/Manifest index 9fe2404..f6979dd 100644 --- a/net-irc/iroffer-dinoex/Manifest +++ b/net-irc/iroffer-dinoex/Manifest @@ -1,4 +1,6 @@ DIST iroffer-dinoex-3.15.tar.gz 388535 RMD160 fce9d9612febd1bc74b163b5a7cc83ea8b642c3e SHA1 807d5a3322e2c3d3651710a35d2fbd5608e637b9 SHA256 6d3ba9497afb9f9a87870ffbacfd30f110889b0d99d3700859c40ec1006aa362 DIST iroffer-dinoex-3.17.tar.gz 389954 RMD160 a62145a1caf8564c4566a172ff35a92f65f77130 SHA1 cadae5f5175899c885400604352a80f2cdf35707 SHA256 498dbb14594013e586640b95527fd5444c5e36aca0ef4bdb75c9e544191c3dcf +DIST iroffer-dinoex-3.24.tar.gz 416833 RMD160 0793c93a58c3597fc83c7319e8755ac423bd22cc SHA1 36db8b77eb3f78247e7e12609b9e819f0667db22 SHA256 860e9359a5dbe20c6770eb73fd4181c91b71488d5b14ceba0401d81836451c1f EBUILD iroffer-dinoex-3.15.ebuild 2461 RMD160 0ad14555afe38d2731e1c2cbe144ffb0872821cd SHA1 55e3924b06f7e2c004ecd797f1a37bfb3c9366f5 SHA256 2e010a8f6e026375e104212ce34bdcee2dcc05d91518b3552d702e6e246c4ea9 EBUILD iroffer-dinoex-3.17.ebuild 2446 RMD160 b36ba030fc5b116d159ae3ad4285c8717af690c3 SHA1 bfc9abf234153e961e5add4489bca1a8c132e10b SHA256 399db4dfdac71a24ed7c90afe48a24441e5c2b88a1749a6aebfcff11a3cdecbd +EBUILD iroffer-dinoex-3.24.ebuild 2434 RMD160 c83c74b0b7ba1175c0502c4526ae1bb7f3d78b71 SHA1 e1ef414022cbee0887da9d4cb2f0bce6f46a1e73 SHA256 72f109f9f817546ebd0d61e8705a5f55ea32d94d00586efeada67c4ce9b52bf3 diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.24.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.24.ebuild new file mode 100644 index 0000000..9fb6e8d --- /dev/null +++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.24.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +DESCRIPTION="An improved version of iroffer - an IRC XDCC bot." +HOMEPAGE="http://iroffer.dinoex.net" +SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86 ~amd64" +SLOT="0" + +LANGUAGES="linguas_it linguas_de linguas_en" +IUSE="geoip curl tls upnp ruby +blowfish +openssl +http +admin +telnet +memsave static ${LANGUAGES}" + +DEPEND="ruby? ( dev-lang/ruby ) + geoip? ( dev-libs/geoip ) + curl? ( net-misc/curl ) + tls? ( net-libs/gnutls ) + openssl? ( dev-libs/openssl )" +RDEPEND="!static? ( ${DEPEND} )" + + +src_compile() { + local configure_opts + + if use geoip ; then + configure_opts="${configure_opts} -geoip" + fi + + if use curl ; then + configure_opts="${configure_opts} -curl" + fi + + if use tls ; then + if use openssl ; then + die "Please select only openssl or tls!" + fi + + configure_opts="${configure_opts} -tls" + fi + + if use upnp ; then + configure_opts="${configure_opts} -upnp" + fi + + if use ruby ; then + configure_opts="${configure_opts} -ruby" + fi + + if ! use blowfish ; then + configure_opts="${configure_opts} -no-blowfish" + fi + + if ! use openssl ; then + configure_opts="${configure_opts} -no-openssl" + fi + + if ! use http ; then + configure_opts="${configure_opts} -no-http" + fi + + if ! use admin ; then + configure_opts="${configure_opts} -no-admin" + fi + + if ! use telnet ; then + configure_opts="${configure_opts} -no-telnet" + fi + + if ! use memsave ; then + configure_opts="${configure_opts} -no-memsave" + fi + + if use static ; then + configure_opts="${configure_opts} -no-libs" + fi + + ./Configure ${configure_opts} + + if use linguas_en ; then + ./Lang en + elif use linguas_de ; then + ./Lang de + elif use linguas_it ; then + ./Lang it + fi + + emake || die "emake failed" +} + +src_install() { + dobin iroffer + + insinto /usr/share/iroffer-dinoex/ + doins beispiel.config + doins iroffer.cron + + if use ruby ; then + doins ruby-sample.rb + fi + + if use http ; then + doins *.html + + insinto /usr/share/iroffer-dinoex/htocs/ + doins htdocs/* + fi + + dodoc LICENSE + dodoc LIESMICH.modDinoex + dodoc README-iroffer.txt + dodoc README.modDinoex + dodoc THANKS + dodoc TODO + + if use admin ; then + if use linguas_en ; then + dodoc help-admin-en.txt + fi + + if use linguas_de ; then + dodoc help-admin-de.txt + fi + + if use linguas_it ; then + dodoc help-admin-it.txt + fi + fi + + doman iroffer.1 +} |