blob: 164114f28a64138a4e2a97726d986920133bc491 (
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
34
35
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="text document for weasel reader converter"
HOMEPAGE="http://gutenpalm.sourceforge.net/"
SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
RDEPEND="
sys-libs/zlib
amd64? ( app-emulation/emul-linux-x86-baselibs )
"
DEPEND="${RDEPEND}"
src_unpack() {
unpack $A
cd "$S"
epatch "${FILESDIR}/${P}-cflags.patch"
}
src_compile() {
CFLAGS="${CFLAGS} $(use amd64 && echo -m32)" \
LIBS="${LIBS} $(use amd64 && echo -m32)" \
emake || die "emake failed"
}
src_install() {
dobin ${PN}
dodoc COPYING ChangeLog README .makeztxtrc
}
|