diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-05 21:30:35 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-05 21:45:43 -0400 |
commit | 5a0cdbcf4e1c63c482429a2098de3101fd4aff93 (patch) | |
tree | c05b3bdceeebd35502ea2aefbb0453d2053a1781 /app-text/convertlit/convertlit-1.8-r4.ebuild | |
parent | sci-misc/fitscut: fix build with upcoming clang16 (diff) | |
download | gentoo-5a0cdbcf4e1c63c482429a2098de3101fd4aff93.tar.gz gentoo-5a0cdbcf4e1c63c482429a2098de3101fd4aff93.tar.bz2 gentoo-5a0cdbcf4e1c63c482429a2098de3101fd4aff93.zip |
app-text/convertlit: EAPI6->8, fix license, direct AR
Closes: https://bugs.gentoo.org/718570
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-text/convertlit/convertlit-1.8-r4.ebuild')
-rw-r--r-- | app-text/convertlit/convertlit-1.8-r4.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/convertlit/convertlit-1.8-r4.ebuild b/app-text/convertlit/convertlit-1.8-r4.ebuild new file mode 100644 index 000000000000..2f2dc3f48f30 --- /dev/null +++ b/app-text/convertlit/convertlit-1.8-r4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="clit${PV//./}" + +DESCRIPTION="CLit converts MS ebook .lit files to .opf (xml+html+png+jpg)" +HOMEPAGE="http://www.convertlit.com/" +SRC_URI="http://www.convertlit.com/${MY_P}src.zip" +S="${WORKDIR}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND=">=dev-libs/libtommath-0.36-r1" +DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/${P}-respectflags-r1.patch + "${FILESDIR}"/fix-Wformat-security-warnings.patch + "${FILESDIR}"/support-ar-variable.patch +) + +src_compile() { + tc-export AR CC + + emake -C lib + emake -C ${MY_P} +} + +src_install() { + dobin ${MY_P}/clit + einstalldocs +} |