From acb921ca0aae4306bd2e03870e884af9021d426a Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 7 Apr 2021 06:04:27 +0300 Subject: [PATCH] par-1.52.0 added (utf-8) --- app-text/par/Manifest | 1 + app-text/par/par-1.52.0.ebuild | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 app-text/par/Manifest create mode 100644 app-text/par/par-1.52.0.ebuild diff --git a/app-text/par/Manifest b/app-text/par/Manifest new file mode 100644 index 00000000..07b72c63 --- /dev/null +++ b/app-text/par/Manifest @@ -0,0 +1 @@ +DIST par-1.52-i18n.4.tgz 56797 SHA256 a71bd311343701daf93ec9b1eb825b0c479b56756c5a64af525342295c4e3d70 SHA512 2e82ceeaa6793f60268e422d0e529a950e94d776138b3fec6297c87090a7248c7fd9efe509680cd8bd4caa5d3bb6365aac3f0cebd42c5bab69a0baa107ec5997 WHIRLPOOL 2a3bea08b2f484f67086b2a48780e09e251e7508d795b962a8f465dfd13cfb7e0b6cedf2b7aa4c67c92de25190a1df872891e8ac2b5c71d6c7cc583f9d8941a5 diff --git a/app-text/par/par-1.52.0.ebuild b/app-text/par/par-1.52.0.ebuild new file mode 100644 index 00000000..e5007bba --- /dev/null +++ b/app-text/par/par-1.52.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="Par-${PV}" +DESCRIPTION="a paragraph reformatter, vaguely similar to fmt, but better" +HOMEPAGE="http://www.nicemice.net/par/" +#SRC_URI="http://www.nicemice.net/par/${MY_P}.tar.gz" +SRC_URI="http://sysmic.org/dl/par/par-1.52-i18n.4.tgz" + +LICENSE="|| ( MIT par )" +SLOT="0" +KEYWORDS="~amd64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="" + +DEPEND="!dev-util/par + !app-arch/par" + +S="${WORKDIR}/par-1.52-i18n.4" + +src_compile() { + emake -f protoMakefile CC="$(tc-getCC) ${CFLAGS} -c" \ + LINK1="$(tc-getCC) ${LDFLAGS}" +} + +src_install() { + newbin par par-format + doman par.1 + dodoc releasenotes par.doc +} + +src_test() { + emake -f protoMakefile test +}