summaryrefslogtreecommitdiff
blob: 09f1ba1a6d212a22a7ce1ee66bb8464b607659bd (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/efax/efax-0.9a.ebuild,v 1.7 2010/10/28 10:02:09 ssuominen Exp $

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="x86 ppc ~amd64"
IUSE=""
SLOT="0"
LICENSE="GPL-2"

src_unpack() {
	unpack ${A}
	cd "${S}"
	cp Makefile Makefile.orig
	sed -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" Makefile.orig > Makefile
}

src_compile() {
	emake || die
}

src_install() {
	dobin efax efix fax || die
	doman efax.1 efix.1 fax.1
	dodoc README
}