mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-lang/nprolog: drop old 4.43
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
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.43.gh.tar.gz 2004264 BLAKE2B 6f8e9ed4bec0317b1dba92e87500722f4033063a334d1e12c2e41f4b27d8ace4f656b24ee9b31e5e4625a5659f9d2372e3dc5f18cb1c8eacf68acf66a48590b7 SHA512 f17f846b2b9606cda31fc934bb67ddc182e8dc66083bd371c13cfe251ac8e16ba0979b2701e1fcfa22cbbc1ff525a22e2f5f22238b378132da43669265566874
|
||||
DIST nprolog-4.47.gh.tar.gz 2006713 BLAKE2B 0a155a749a0c57168309defef12ebab6ebd843351a854867a0d68f7cbb46e6bb17bc0a8db233456a5735149d5c4b8f84810354d9cc3dd1a2ac3b429ccc29ac46 SHA512 9c5c77f0f7881d72c9244f729dd017de47f7798d2573376c23bb44bcf6c1b20c5db1316c7437ceeb63b30c566b8613f9c51b66313fa7467b96162b055c14fc88
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# 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