dev-lang/nprolog: bump to 4.21

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-05-17 22:09:09 +02:00
parent 4d4a081e40
commit 8f5d3a4ad7
2 changed files with 55 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST nprolog-4.05.gh.tar.gz 1294386 BLAKE2B 820bd52f2f5c47fd3fe873d94ca5dec177f43843cef649422e202debee922f2786ba5bd20c0f9806f5916ba74717d67febdc3dbb3b08616e22c5eba1085069aa SHA512 f6621fc30856bf38460395e7ebc73233b5387ea6aa450439b0979e50b2c8f1bde87ffd1a0468f5eca33abc3b3c2fe7bed080f8e82e090e213fb2afa488be3054
DIST nprolog-4.08.gh.tar.gz 1308785 BLAKE2B 8e28698aa9972db9017f6b808aa75e723db555959904884a327ff4be4f1f229456157f747bd0fc32a3b4b7bd6441d1170633908577b90ef11511ca42b3840f6b SHA512 4ca35f7a5d010f2064b21694494edcfec1aef0823a2ce9601906a2ee77a1161a6b0e7642f49f214a8a7fc7c864e5ec2ba60de3dc33784876787a69ac281a9ac3
DIST nprolog-4.20.gh.tar.gz 1312261 BLAKE2B cf0756158c02e58336e9b76a17de900cf6e3f0fbb25c0c5997a72030f97849d019e81222861824a285d11abb3d1dc13891f9ccb4ad1ad4f1e8c2f120e9dad0be SHA512 938958ed32566ae68a71060f6073f5bd3105db9647e99b9aaabe638a1aa4014d8ba350ae4fdcb8a42f80af4a1890f476ded0f5e1777a30ecce97004557fc6edb
DIST nprolog-4.21.gh.tar.gz 1999169 BLAKE2B 306516073eeb660416bbde8a247691d413a459839f459803aa570e967216799d6f7822f0eb1f4d05adb365e14692fe59889a8461799608ab2ba5f2034a46f564 SHA512 5afdb00a1f32aeb17cfa8b1fb1d3dc2fb1402f7bb814ef0f1db747968e086c0b4533c6e11754d5855f35664bdff44aca95ca3c611b45b3dd8f1f34c7a6202fab

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
}