mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-lang/nprolog: bump to 4.49
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
e53224cd61
commit
a05123d41e
@ -1,3 +1,4 @@
|
||||
DIST nprolog-4.08.gh.tar.gz 1308785 BLAKE2B 8e28698aa9972db9017f6b808aa75e723db555959904884a327ff4be4f1f229456157f747bd0fc32a3b4b7bd6441d1170633908577b90ef11511ca42b3840f6b SHA512 4ca35f7a5d010f2064b21694494edcfec1aef0823a2ce9601906a2ee77a1161a6b0e7642f49f214a8a7fc7c864e5ec2ba60de3dc33784876787a69ac281a9ac3
|
||||
DIST nprolog-4.37.gh.tar.gz 1999398 BLAKE2B 9e7dab51c15fd84c0d72a460d19b427dc6219b58b499a640914eb241cde67a4a62ae2178f0bfbf39d16a7a7e02cc5d752704963f4fe36dbf89041064afef3d84 SHA512 62fc7e992bda1eb4ebed3c0cd037074ad155faa47aafcc065baf61e18398b07404b3ff6be6f9650031738d8eb11ff315b669019b9a72649f6737680c4eec681f
|
||||
DIST nprolog-4.47.gh.tar.gz 2006713 BLAKE2B 0a155a749a0c57168309defef12ebab6ebd843351a854867a0d68f7cbb46e6bb17bc0a8db233456a5735149d5c4b8f84810354d9cc3dd1a2ac3b429ccc29ac46 SHA512 9c5c77f0f7881d72c9244f729dd017de47f7798d2573376c23bb44bcf6c1b20c5db1316c7437ceeb63b30c566b8613f9c51b66313fa7467b96162b055c14fc88
|
||||
DIST nprolog-4.49.gh.tar.gz 2010955 BLAKE2B 494b0f9925a7511b03da9e086e1a0b936bcd8f13eea8ea2aad4cde3e55f923d036de1bcd4725143cf5755b7e8a6d1791906643e590f167981d890f2f92ec5727 SHA512 fca4064cbc9ae09a5d2a1435b6049e98b7bd28cd3bf58654966665996f310ec71a532f016e54747e2e0ab2132dc9e118e0ca64daed0616eeb7af6ee98c1dcf4d
|
||||
|
||||
54
dev-lang/nprolog/nprolog-4.49.ebuild
Normal file
54
dev-lang/nprolog/nprolog-4.49.ebuild
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user