summaryrefslogtreecommitdiff
blob: a40e3f9e28c1d6fc970862b13291e19b7d6cf2d8 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="Text/HTML to Doc file converter for the Palm Pilot"
HOMEPAGE="http://homepage.mac.com/pauljlucas/software/txt2pdbdoc/"
SRC_URI="http://homepage.mac.com/pauljlucas/software/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"

DOCS=( AUTHORS README ChangeLog )

PATCHES=(
	"${FILESDIR}"/${PN}-1.4.4-implicit-decl-getopt.patch
)

src_prepare() {
	default

	sed -i -e "/^CFLAGS/d" configure.in || die
	mv configure.{in,ac} || die

	eautoreconf
}