Diffstat (limited to 'app-pda/makeztxt/makeztxt-1.60.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r-- | app-pda/makeztxt/makeztxt-1.60.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app-pda/makeztxt/makeztxt-1.60.ebuild b/app-pda/makeztxt/makeztxt-1.60.ebuild index 08e75ee..164114f 100644 --- a/app-pda/makeztxt/makeztxt-1.60.ebuild +++ b/app-pda/makeztxt/makeztxt-1.60.ebuild | |||
@@ -1,23 +1,35 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | 1 | # Copyright 1999-2007 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 | 2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: $ | 3 | # $Header: $ |
4 | 4 | ||
5 | inherit eutils | 5 | inherit eutils |
6 | DESCRIPTION="text document for weasel reader converter" | 6 | DESCRIPTION="text document for weasel reader converter" |
7 | HOMEPAGE="http://gutenpalm.sourceforge.net/" | 7 | HOMEPAGE="http://gutenpalm.sourceforge.net/" |
8 | SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz" | 8 | SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz" |
9 | 9 | ||
10 | LICENSE="GPL-2" | 10 | LICENSE="GPL-2" |
11 | SLOT="0" | 11 | SLOT="0" |
12 | KEYWORDS="x86 amd64" | 12 | KEYWORDS="x86 amd64" |
13 | IUSE="" | 13 | IUSE="" |
14 | DEPEND="sys-libs/zlib" | 14 | RDEPEND=" |
15 | sys-libs/zlib | ||
16 | amd64? ( app-emulation/emul-linux-x86-baselibs ) | ||
17 | " | ||
18 | DEPEND="${RDEPEND}" | ||
19 | |||
20 | src_unpack() { | ||
21 | unpack $A | ||
22 | cd "$S" | ||
23 | epatch "${FILESDIR}/${P}-cflags.patch" | ||
24 | } | ||
15 | 25 | ||
16 | src_compile() { | 26 | src_compile() { |
27 | CFLAGS="${CFLAGS} $(use amd64 && echo -m32)" \ | ||
28 | LIBS="${LIBS} $(use amd64 && echo -m32)" \ | ||
17 | emake || die "emake failed" | 29 | emake || die "emake failed" |
18 | } | 30 | } |
19 | 31 | ||
20 | src_install() { | 32 | src_install() { |
21 | dobin ${PN} | 33 | dobin ${PN} |
22 | dodoc COPYING ChangeLog README .makeztxtrc | 34 | dodoc COPYING ChangeLog README .makeztxtrc |
23 | } | 35 | } |