# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs MY_PN="${PN}-ircc" MY_P=${MY_PN}-${PV} DESCRIPTION="A small IRC client for the console" HOMEPAGE="http://www.bind.ch/software/netwalker/" SRC_URI="http://www.bind.ch/software/${PN}/src/${MY_P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="sys-libs/ncurses" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} cd "${S}" sed -i \ -e "s#netwalker-ircc#${PN}#g" \ config.h Makefile \ || die "sed failed" } src_compile() { # parallel make is b0rked emake -j1 \ CC="$(tc-getCXX)" \ CFLAGS="${CFLAGS}" \ || die "emake failed" } src_install() { make DESTDIR="${D}/usr" install || die "make install failed" dodoc CHANGELOG README TODO }