diff options
Diffstat (limited to 'app-text/par')
-rw-r--r-- | app-text/par/Manifest | 3 | ||||
-rw-r--r-- | app-text/par/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/par/par-1.52-r1.ebuild | 32 |
3 files changed, 40 insertions, 0 deletions
diff --git a/app-text/par/Manifest b/app-text/par/Manifest new file mode 100644 index 000000000000..949db588c8bb --- /dev/null +++ b/app-text/par/Manifest @@ -0,0 +1,3 @@ +DIST Par152.tar.gz 47999 BLAKE2B 0f76abde64d00d0511d9b0b0ce2a97b13917e08fe3bd1c69fa98ca19dff75a2b55a21f5eaa8bfd0660b6523336de6c29b2a58647196ff6af8c24ec156a426bb0 SHA512 f5a46da4b693e6a3d15ccd57e24ee9b0332ebfbcfc88da9ef0731e18932ba6f0adde7691a233264d6361e8903ff7e2263f71885a415c896dc4c45a0d05b1978e +EBUILD par-1.52-r1.ebuild 730 BLAKE2B 45044dd56d7f12ca96a55209141a10abedaaffc0776e3bb7d68cbe90635771821e5f2df2da1aff67f3888f7032ee0e2af7ff7f02aaf79510094bfe948499439d SHA512 b72c83f06eba360ea9df2275775cf960f5ec718ccc9e59a9546d6db959479ab6e6d07424dba3998193673aa1ec73870d3997b12b1416e40b91ee04c6af66f082 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-text/par/metadata.xml b/app-text/par/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-text/par/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-text/par/par-1.52-r1.ebuild b/app-text/par/par-1.52-r1.ebuild new file mode 100644 index 000000000000..7e6f9b7dcf6e --- /dev/null +++ b/app-text/par/par-1.52-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="!dev-util/par + !app-arch/par" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + make -f protoMakefile CC="$(tc-getCC) -c $CFLAGS" \ + LINK1="$(tc-getCC) $LDFLAGS" || die 'make failed' +} + +src_install() { + newbin par par-format + doman par.1 + dodoc releasenotes par.doc +} |