diff options
Diffstat (limited to 'net-mail/biff/biff-0.17.ebuild')
-rw-r--r-- | net-mail/biff/biff-0.17.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-mail/biff/biff-0.17.ebuild b/net-mail/biff/biff-0.17.ebuild new file mode 100644 index 0000000..b311230 --- /dev/null +++ b/net-mail/biff/biff-0.17.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.1.3.ebuild,v 1.4 2005/10/02 11:42:12 agriffis Exp $ + +inherit eutils + +DESCRIPTION="A mail notification program" +LICENSE="GPL" +SLOT="0" +KEYWORDS="amd64 x86" + +src_unpack() { + tar xjf "${FILESDIR}"/biff+comsat-0.17.tar.bz2 + cd biff+comsat-0.17 + epatch "${FILESDIR}"/biff+comsat-0.10-nobr.patch.bz2 +} + +src_compile() { + cd "${WORKDIR}"/biff+comsat-0.17 + sh configure + perl -pi -e ' + s,^CC=.*$,CC=cc,; + s,-O2,\$(RPM_OPT_FLAGS),; + s,^BINDIR=.*$,BINDIR=/usr/bin,; + s,^MANDIR=.*$,MANDIR=/usr/share/man,; + s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; + ' MCONFIG + + emake -C biff || die +} + +src_install() { + cd "${WORKDIR}"/biff+comsat-0.17 + dobin biff/biff + doman biff/biff.1 +} |