mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-lang/nprolog: bump to 4.72
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
4b9ed1e028
commit
f5dfd4aff2
@ -2,3 +2,4 @@ DIST nprolog-4.37.gh.tar.gz 1999398 BLAKE2B 9e7dab51c15fd84c0d72a460d19b427dc621
|
||||
DIST nprolog-4.55.gh.tar.gz 2011480 BLAKE2B 4fda77076fbec2af8e441ea7b4e412ef744f2cf73854d9b88501bca1b335f78f9399435ac5c0423188ae88097d887bfd91c4d67ac1b07b45f5873aa5a6cc47af SHA512 fe5511383b844945897fb45897b7d396ce9259d56872ff8a98164680c57cb70922f6be51ce9041dcd26a95a88be9130854fe354342a95e5784995a2e6ef9d0c1
|
||||
DIST nprolog-4.61.gh.tar.gz 1878296 BLAKE2B 3e1d3b17a7ece125ddb644884f7c17f2860adef813894943faaf3b10706d20618b6bba00856a765e1c29a110a6ec911a5dade8f6faf7f4a77f7be06471e500e5 SHA512 c5eb22216fd76faaac834d39372419181a641e2bc4ac16a96605610c56aa09b342381e2ebdf8d34fa71e77a1988caa03b3fe4e7a09243e7bb630ce1898130dea
|
||||
DIST nprolog-4.71.gh.tar.gz 1877946 BLAKE2B 8796b1c607364e4ca268bcc4525fe89eb61d782864d3b924cc34f9f232e34b6987150300f4f935d32a70ef25d17a2c78dd033827a9653aa40a98f727dfb6291d SHA512 32e8a68cdf4b13d1a5dbcd4418efdd2a70c1d1534e95ac3d4dcd6229d8f114fca7b3b7c0f64fb4aadb457537bed341ab9a3434cbfce066a2ffd7d1429c1c3f62
|
||||
DIST nprolog-4.72.gh.tar.gz 1877894 BLAKE2B 7f860c1e658e276465929310c65699d79f16b7c575419cf02f73bc3edb3e8fb95ec1173549e49d0ddc1d66fc34f3609b740d1e0eb515fe2f48cd214c20f20e8c SHA512 55b87bfd3b1cf82deaf4e147e408575145c4902a0cd582971adf0216036fb4508f8c7e9f9a9ab8c1222030b1c78b03d3c90c1872a1c47bcbddfbefc0ffecf6f0
|
||||
|
||||
53
dev-lang/nprolog/nprolog-4.72.ebuild
Normal file
53
dev-lang/nprolog/nprolog-4.72.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# 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}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin 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