dev-lang/nprolog: bump to 4.05

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-03-16 21:48:59 +01:00
parent 128a63ce54
commit dbf6d4264b
2 changed files with 55 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST nprolog-3.88.gh.tar.gz 1337137 BLAKE2B 0d8f8d5e8242e3ab172f0a1256252ef99b6daf76a77fb75710c0286d55aa02e79e78601ec4347e42d88411cc7528d4e3b041496df04335496b71fc41cb3573c6 SHA512 12ef940792a6c9cd44cafad5440829d43b0c4736732341172255733f163d48b189233b62288e4fd59d36e5a378742f783a0400c2c4dc3d6b06570143b06685db
DIST nprolog-3.98.gh.tar.gz 1291160 BLAKE2B 9f143e5bb15156d8bac365b06d240817d3ff6a6f248d6148cfa88dedfc5d3e6749ed56e1c8bc10298ef2564507481e5b8bbbdf4c32c33343cb009913e9440214 SHA512 cb4462089557348aba1b18e94024f3d4bacf988611c79ee3e84ecd32d0356e9e370c677fa7c0228e3aff60b434feb58ab49aba6cca79b456699b63f64483142c
DIST nprolog-4.00.gh.tar.gz 1292375 BLAKE2B dbed6d7379711a79a3ac0465514c8ad950a8af6f2140ea79840bf6a9b31abfc67f1d8259da52768bc86a68e56e5b576c7833e33395e2a8dd6a78aafe3a9c7380 SHA512 9f892b67007f7bd9a08acd188fbccf2565de7a5009ad6b18c14c359a4abb186f26638e18dd426396ac4b4ad88d715507a2054fc3d36c3336cf578ea844d29fae
DIST nprolog-4.05.gh.tar.gz 1294386 BLAKE2B 820bd52f2f5c47fd3fe873d94ca5dec177f43843cef649422e202debee922f2786ba5bd20c0f9806f5916ba74717d67febdc3dbb3b08616e22c5eba1085069aa SHA512 f6621fc30856bf38460395e7ebc73233b5387ea6aa450439b0979e50b2c8f1bde87ffd1a0468f5eca33abc3b3c2fe7bed080f8e82e090e213fb2afa488be3054

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
}