# $Id$ PNAME="irssi" PVER="0.8.15" PBUILD="r2" PCATEGORIE="net-irc" DESCRIPTION="Irssi is a modular IRC client for UNIX that currently has only text mode user interface." HOMEPAGE="http://www.irssi.org/" DEPEND=">= dev-libs/glib2-2.28 >= sys-libs/ncurses-5.9 >= dev-libs/openssl-1.0.0 >= dev-lang/perl-5.14" SDEPEND=">= sys-dev/gettext-0.18" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER/a/}" sminclude perl mbuild SRC_URI=( http://irssi.org/files/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}download | firsttarball" src_compile() { cd ${SRCDIR} mconfigure \ --with-proxy \ --with-ncurses \ --with-perl-lib=vendor \ --enable-nls \ --enable-ipv6 \ --enable-ssl \ || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} \ docdir=/usr/share/doc/${PNAME}-${PVER} \ gnulocaledir=${BINDIR}/usr/share/locale \ install || die minstalldocs AUTHORS ChangeLog COPYING NEWS README TODO || die }