dev-lang/nprolog: bump to 4.81

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-02-04 14:31:23 +01:00
parent d788594bcb
commit af3b333ccb
2 changed files with 54 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST nprolog-4.76.gh.tar.gz 1879255 BLAKE2B 02b861e69c40ceb94814c987909e78ddc15bb32f3b8b224be6430bc6d6bef5f0040ac6782e34e997b1e593d3a014bc2c54d2dfcc75612681124700299711fd9c SHA512 ccee9b2e41f24059aa05eaca2847dc599455a774bfde13e60b1ec1c472a52c6f7ba49150243f9e1f74979ab7366b3c8a8bdcc3898bafd17a5f7a4749413773ad
DIST nprolog-4.78.gh.tar.gz 3394430 BLAKE2B fc31a6b3f792b27aec06ed1499b3781f090080a81d8620dde3c2b49f209886f7fa6733cbcb54967546eb0e272da3dae73f5c293ea438304891b7e617a1707f9f SHA512 0e109c8a7819463686400839a26dc09fe0723c1ad31bd523ac3fd65f5b12b3db6115179ae1485f8c5ca827e65e24c3b433ec907ba995c3a1680fe62de51c0934
DIST nprolog-4.79.gh.tar.gz 3394645 BLAKE2B b98761147492cb312df72fa53a2c83c39fcc08a8c6e0cf7f2c7ff6821a9d4868406045899d4e5b2a9ccfef9af65a42a208f6b0b6374d95bff1231645b41f185f SHA512 0bde7bc9214ad66f5b85a8444017fb5879f48204b06fce7b3ae7e62bfafdebd4688deed86b7e81560cad3aa382ad8ceced7bce5e9806829833df937504bb6661
DIST nprolog-4.81.gh.tar.gz 3400515 BLAKE2B dab333228ad673668b4c2df3194872420c80e2d81dc2510369e9f8f56cdaaf8ab8ab4a4dd60ab67f9f42d68245ecbe3649a82d89d0052eb5d964490ab1fd1ed3 SHA512 0419ccc8a6476cc076d0386fabb887c77059d867e62b8378724d684493338ce11f5e4ca3826330c6d40de98e397aef1c2ac5b4f456a03c66adc94807081f1353
+53
View File
@@ -0,0 +1,53 @@
# Copyright 1999-2026 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}"
}
src_install() {
dobin npl
insinto "/usr/share/${PN}"
doins -r example library
if use doc ; then
DOCS+=( document )
docompress -x "/usr/share/doc/${PF}/document"
fi
einstalldocs
}