summaryrefslogtreecommitdiff
blob: 4caae923cdbc06d508c517f51777149c9cc09bdb (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild,v 1.8 2006/10/10 21:15:54 g2boojum Exp $

DESCRIPTION="Text to Doc file converter for the Palm Pilot.  Also includes an HTML to Doc converter."
SRC_URI="http://homepage.mac.com/pauljlucas/software/${P}.tar.gz"
HOMEPAGE="http://homepage.mac.com/pauljlucas/software/txt2pdbdoc/"
KEYWORDS="amd64 ppc sparc x86"
SLOT="0"
LICENSE="GPL-2"

DEPEND="dev-lang/perl"
IUSE=""

# automake error: INSTALL and NEWS files missing, and make breaks w/o them
src_unpack() {
	unpack ${A}
	cd ${S}
	touch INSTALL NEWS
}

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc AUTHORS README ChangeLog
}