diff options
Diffstat (limited to 'net-irc/bip/bip-0.7.4-r1.ebuild')
-rw-r--r-- | net-irc/bip/bip-0.7.4-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-irc/bip/bip-0.7.4-r1.ebuild b/net-irc/bip/bip-0.7.4-r1.ebuild new file mode 100644 index 000000000000..4dad7e284e53 --- /dev/null +++ b/net-irc/bip/bip-0.7.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/bip/bip-0.7.4-r1.ebuild,v 1.1 2008/10/10 12:06:29 hawking Exp $ + +DESCRIPTION="Multiuser IRC proxy with ssl support" +HOMEPAGE="http://bip.t1r.net/" +SRC_URI="http://bip.t1r.net/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ssl vim-syntax" + +DEPEND="ssl? ( dev-libs/openssl )" +RDEPEND="${DEPEND} + vim-syntax? ( || ( app-editors/vim + app-editors/gvim ) )" + +src_compile() { + econf $(use_enable ssl) + # Parallel make fails. + # {C,CXX,LD}FLAGS aren't respected, bug 241030. + emake CFLAGS="${CFLAGS}" CPPFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" -j1 || die "emake failed" +} + +src_install() { + dobin src/bip src/bipmkpw || die "dobin failed" + + dodoc AUTHORS ChangeLog README NEWS TODO || die "dodoc failed" + newdoc samples/bip.conf bip.conf.sample || die "newdoc failed" + doman bip.1 bip.conf.5 bipmkpw.1 || die "doman failed" + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins samples/bip.vim || die "doins failed" + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}"/bip.vim || die "doins failed" + fi +} + +pkg_postinst() { + elog 'Default configuration file is "~/.bip/bip.conf"' + elog "You can find a sample configuration file in" + elog "/usr/share/doc/${PF}/bip.conf.sample" +} |