blob: 9b39421c0634d3b28a4f4fe86c92f082cac37d7d (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit toolchain-funcs
DESCRIPTION="Converts OpenOffice formats to text or HTML"
HOMEPAGE="http://siag.nu/o3read/"
SRC_URI="http://siag.nu/pub/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
RESTRICT=test
src_prepare() {
sed \
-e 's:-o:$(LDFLAGS) -o:g' \
-e '/^CC/d' \
-e '/^CFLAGS/g' \
-i Makefile || die
tc-export CC
}
src_install() {
dobin o3read o3totxt o3tohtml utf8tolatin1
doman o3read.1 o3tohtml.1 o3totxt.1 utf8tolatin1.1
}
|