blob: 6b5d1c4a46c20f7c3c3d6b9b36ccd4e72e95adc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/efax-0.9a-r2.ebuild,v 1.3 2011/12/21 08:36:34 phajdan.jr Exp $
EAPI="2"
inherit eutils
S="${WORKDIR}/${P}-001114"
DESCRIPTION="A simple fax program for single-user systems"
SRC_URI="http://www.cce.com/efax/download/${P}-001114.tar.gz"
HOMEPAGE="http://www.cce.com/efax/"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
src_prepare () {
epatch "${FILESDIR}/${P}-segfault.patch"
# remove strip command as per bug #240932
sed -i -e '/strip/d' Makefile
}
src_compile() {
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "compilation failed"
}
src_install () {
dobin efax efix fax || die "dobin failed"
doman efax.1 efix.1 fax.1
dodoc README
}
|