app-text/odt2txt - 0.5 (gentoo)

Search

Install

Install this version:

emerge -a =app-text/odt2txt-0.5

Package Information

Description:
A simple converter from OpenDocument Text to plain text
Homepage:
http://stosberg.net/odt2txt/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.5 8 ~alpha amd64 ~arm arm64 ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A simple converter from OpenDocument Text to plain text"
HOMEPAGE="http://stosberg.net/odt2txt/"
SRC_URI="https://github.com/dstosberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ppc64 ~riscv ~sparc x86"

RDEPEND="
	!app-office/unoconv
	virtual/zlib:=
	virtual/libiconv"
DEPEND="${RDEPEND}"
BDEPEND="sys-apps/groff"

PATCHES=( "${FILESDIR}"/${P}-makefile.patch )

src_configure() {
	tc-export CC PKG_CONFIG
}

src_install() {
	emake install DESTDIR="${D}" PREFIX="${EPREFIX}"/usr
	doman odt2txt.1
}

Inherited Eclasses

Dependencies

DEPEND

	!app-office/unoconv
	virtual/zlib:=
	virtual/libiconv

RDEPEND

	!app-office/unoconv
	virtual/zlib:=
	virtual/libiconv

BDEPEND

sys-apps/groff

Manifest for 0.5

Type File Size Source URLs
DIST odt2txt-0.5.tar.gz 24460 bytes https://github.com/dstosberg/odt2txt/archive/v0.5.tar.gz