mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-lang/nprolog: bump to 4.21
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
54
dev-lang/nprolog/nprolog-4.21.ebuild
Normal file
54
dev-lang/nprolog/nprolog-4.21.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
|
||||
}
|
||||
Reference in New Issue
Block a user