dev-lang/nprolog: bump to 4.61

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-08-13 09:51:24 +02:00
parent 1e8df238c2
commit 117326fb25
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 55 additions and 0 deletions

View File

@ -3,3 +3,4 @@ DIST nprolog-4.47.gh.tar.gz 2006713 BLAKE2B 0a155a749a0c57168309defef12ebab6ebd8
DIST nprolog-4.49.gh.tar.gz 2010955 BLAKE2B 494b0f9925a7511b03da9e086e1a0b936bcd8f13eea8ea2aad4cde3e55f923d036de1bcd4725143cf5755b7e8a6d1791906643e590f167981d890f2f92ec5727 SHA512 fca4064cbc9ae09a5d2a1435b6049e98b7bd28cd3bf58654966665996f310ec71a532f016e54747e2e0ab2132dc9e118e0ca64daed0616eeb7af6ee98c1dcf4d
DIST nprolog-4.50.gh.tar.gz 2011294 BLAKE2B 7ea2cf76f3e718334247689858a541ca6e5951263de5c70c5f5cedb87921ed11efadfe094b254dfcd81d5ff38712d43aa448ef26040adcf326e00b7fd7c5d85b SHA512 9d3cac80d0231b09f53f23e54da334dcc47f9381971c697cf3465e0fd6493a17c78cf7bbfcb7c697adba55808d2fcf5c3ad0536aa08fdad0282daf8321b5bb3b
DIST nprolog-4.55.gh.tar.gz 2011480 BLAKE2B 4fda77076fbec2af8e441ea7b4e412ef744f2cf73854d9b88501bca1b335f78f9399435ac5c0423188ae88097d887bfd91c4d67ac1b07b45f5873aa5a6cc47af SHA512 fe5511383b844945897fb45897b7d396ce9259d56872ff8a98164680c57cb70922f6be51ce9041dcd26a95a88be9130854fe354342a95e5784995a2e6ef9d0c1
DIST nprolog-4.61.gh.tar.gz 1878296 BLAKE2B 3e1d3b17a7ece125ddb644884f7c17f2860adef813894943faaf3b10706d20618b6bba00856a765e1c29a110a6ec911a5dade8f6faf7f4a77f7be06471e500e5 SHA512 c5eb22216fd76faaac834d39372419181a641e2bc4ac16a96605610c56aa09b342381e2ebdf8d34fa71e77a1988caa03b3fe4e7a09243e7bb630ce1898130dea

View File

@ -0,0 +1,54 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32"
HOMEPAGE="https://github.com/sasagawa888/nprolog/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/sasagawa888/${PN}"
else
SRC_URI="https://github.com/sasagawa888/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD-2"
SLOT="0"
IUSE="doc"
DOCS=( README{,-ja}.md )
src_prepare() {
if [[ -f edlog ]] ; then
rm edlog || die
fi
default
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {
exeinto /usr/bin
doexe npl
insinto "/usr/share/${PN}"
doins -r example library
if use doc ; then
DOCS+=( document )
docompress -x "/usr/share/doc/${PF}/document"
fi
einstalldocs
}