dev-lang/nprolog: bump to 3.51

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-12-03 01:29:37 +01:00
parent 1e52d71b0c
commit b1b466909f
2 changed files with 50 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST nprolog-3.36.tar.gz 598498 BLAKE2B 1cf2f1459698f2c7df01b4a2202e292b5c0918c363ebc761007f7996f405f7334e757678dbe510ea5c3a52dce8a5fa2b84cd898b04b3bfa4ab33d325ecd17401 SHA512 33ce46cec1c1d167b70ba0f59655f58d42e388d63f5515cec88086db1035d54700865ddfbe213f393d65180928c3951c11056471ef5499761182ea6536a0ddb2
DIST nprolog-3.41.tar.gz 599368 BLAKE2B d335f87834ca9a6cb167416ebd8024e7122fc17c5b065997e1b88c003ab7f8d772d715d363c712d75fb81d5634993f1dd106593f90f3d375696b8c6826668e98 SHA512 d0927259a3a7b157c9d346cf99c4fb354c4ff4f71c92970c63439c016137437cd2ebcfef7b4bffe50befb3abc5f463abb68eb5b859fa52220e36aac57957321d
DIST nprolog-3.45.tar.gz 679833 BLAKE2B 2955479ac67ae7636278b2d161e14d5718f68690920c91c088216e92437dd7e53d7cb79d81f7f05b3135f083e5f785e2e340b6b1f8d841eee0988f3c41ad22d0 SHA512 df709224a249ce967eadf60561f9368a8025c39ebeccaa32424bf2591ec481669d7dd4867ab082d1f6eb1c80149d6ad64d37c91611df7de4a6d3904117257842
DIST nprolog-3.51.tar.gz 682131 BLAKE2B a391eaf018a04e6ba98d1393b69bf254504f6915c34860be1bce11615a24442aac793034f505fe885893f16e2baebaf913413fd66f1c2abea33e6fd1885599bd SHA512 3e6a652376eb5ad975b3ed57c92c4ec5da692023a8bdbacdbdf9c149070b9853835651492b4cbdbc53e1caaaf14cb2c1a8dbfa3a00ad633e738753254faa7e12
+49
View File
@@ -0,0 +1,49 @@
# Copyright 1999-2024 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}.git"
else
SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="BSD-2"
SLOT="0"
PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" )
DOCS=( README{,-ja}.md document )
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
einstalldocs
}