mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
dev-lang/nprolog: drop old 4.61
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST nprolog-4.61.gh.tar.gz 1878296 BLAKE2B 3e1d3b17a7ece125ddb644884f7c17f2860adef813894943faaf3b10706d20618b6bba00856a765e1c29a110a6ec911a5dade8f6faf7f4a77f7be06471e500e5 SHA512 c5eb22216fd76faaac834d39372419181a641e2bc4ac16a96605610c56aa09b342381e2ebdf8d34fa71e77a1988caa03b3fe4e7a09243e7bb630ce1898130dea
|
||||
DIST nprolog-4.72.gh.tar.gz 1877894 BLAKE2B 7f860c1e658e276465929310c65699d79f16b7c575419cf02f73bc3edb3e8fb95ec1173549e49d0ddc1d66fc34f3609b740d1e0eb515fe2f48cd214c20f20e8c SHA512 55b87bfd3b1cf82deaf4e147e408575145c4902a0cd582971adf0216036fb4508f8c7e9f9a9ab8c1222030b1c78b03d3c90c1872a1c47bcbddfbefc0ffecf6f0
|
||||
|
||||
@@ -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