mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/lowdown: add 3.2.1
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST lowdown-2.0.2.tar.gz 676246 BLAKE2B 35ca947673d7582b64687200429f8e806703cc0
|
||||
DIST lowdown-2.0.4.tar.gz 697300 BLAKE2B 07afe0f0a5e4d7f258bed5fc7a4a2e052384f852b12cf285cf3546cbe92bc05dd8d38ca3553cb0314a2823b22526f1a97be042dbdb472397afa10eb9c638a8d7 SHA512 db396f738c3effdd55f112f2f71183b32b45ae2f8ba999e03df5162612e26a313d7b3ca1c5840cb71805f4429a4a3b67fe61a731aadc5cc989b74ff2da2d5b7e
|
||||
DIST lowdown-3.0.1.tar.gz 766585 BLAKE2B 5dfb8671ec39ddc166cd3173219e5aa9580261896bca3c17ba6d695338d7cc7b66583c232723e2645b7185d7dec595033d4dc6589dae55719ca3256745653f6c SHA512 cad6d4716c681f40922c7a6b0d2af20deaaa33dac790eb803e3ccd0c4759c16413ede939f86925a871c5e3485b9ab800c4128ddeb3057c0efb939dbf83b025c3
|
||||
DIST lowdown-3.1.1.tar.gz 773421 BLAKE2B ffed6e3a70429fa07c66123c86efda639fb7106e777e57ca96d422ed28fc44b34a5130a2f3360c9bf23d53c523d2a6b64abe29dbdaad5c6415e991dc686d8627 SHA512 05c6a0c6fcb0ffc45d7f60c5aecc43e96d89eb5708558098009db8aecd2e527bdac44dcce8cf91c139275f5405202b6cf838c0e56852a523fc8070d792fc8709
|
||||
DIST lowdown-3.2.1.tar.gz 784560 BLAKE2B 4628c685fb79438fb83e4abd3920b2fe31bfbcf81aad4552920817f028b733ea21127447575d57641ae278740fa64290c7a69ae025a108de08f2e009358425e2 SHA512 73c7e614fc9cc5a4c441f95e9fc3b078db5456eeee5ad42212111d7837c9fe482cf34ae116e1a62eef5afc56bf98640a1f1656044c4b13aec3fe7e3622e44c87
|
||||
|
||||
81
app-text/lowdown/lowdown-3.2.1.ebuild
Normal file
81
app-text/lowdown/lowdown-3.2.1.ebuild
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multiprocessing toolchain-funcs
|
||||
|
||||
MY_PV="VERSION_${PV//./_}"
|
||||
DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
|
||||
HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
|
||||
SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
DEPEND="
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-build/bmake
|
||||
"
|
||||
|
||||
# configure tests for a bunch of BSD functions on Linux
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
crypt_newhash
|
||||
crypt_checkpass
|
||||
warnc
|
||||
errc
|
||||
getexecname
|
||||
getprogname
|
||||
memset_s
|
||||
pledge
|
||||
recallocarray
|
||||
strlcat
|
||||
strlcpy
|
||||
strtonum
|
||||
TAILQ_FOREACH_SAFE
|
||||
unveil
|
||||
arc4random
|
||||
b64_ntop
|
||||
timingsafe_bcmp
|
||||
timingsafe_memcmp
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-flags -fPIC
|
||||
tc-export CC AR
|
||||
|
||||
local jobs="$(makeopts_jobs)"
|
||||
unset MAKEOPTS
|
||||
unset MAKEFLAGS
|
||||
|
||||
export MAKEOPTS="-j${jobs}"
|
||||
export MAKEFLAGS= #966238
|
||||
export MAKE=bmake
|
||||
|
||||
./configure \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
MANDIR="${EPREFIX}/usr/share/man" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
|| die "./configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}" emake regress
|
||||
}
|
||||
Reference in New Issue
Block a user