diff options
Diffstat (limited to 'net-irc/znc/znc-0.052.ebuild')
-rw-r--r-- | net-irc/znc/znc-0.052.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-irc/znc/znc-0.052.ebuild b/net-irc/znc/znc-0.052.ebuild new file mode 100644 index 000000000000..08e26eb2a465 --- /dev/null +++ b/net-irc/znc/znc-0.052.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-0.052.ebuild,v 1.1 2007/12/19 17:49:24 armin76 Exp $ + +inherit autotools + +DESCRIPTION="An advanced IRC Bouncer" +HOMEPAGE="http://znc.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug ipv6 nomodules perl ssl" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.7d ) + perl? ( dev-lang/perl )" +RDEPEND="${DEPEND}" + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable ipv6) \ + $(use_enable !nomodules modules) \ + $(use_enable perl) \ + $(use_enable ssl openssl) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "make install failed." + dodoc AUTHORS znc.conf || die "dodoc failed" +} + +pkg_postinst() { + elog + elog "Run 'znc --makeconf' as the user you want to run ZNC as" + elog "to make a configuration file" + elog +} |