mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/nprolog: bump to 4.55
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST nprolog-4.37.gh.tar.gz 1999398 BLAKE2B 9e7dab51c15fd84c0d72a460d19b427dc621
|
||||
DIST nprolog-4.47.gh.tar.gz 2006713 BLAKE2B 0a155a749a0c57168309defef12ebab6ebd843351a854867a0d68f7cbb46e6bb17bc0a8db233456a5735149d5c4b8f84810354d9cc3dd1a2ac3b429ccc29ac46 SHA512 9c5c77f0f7881d72c9244f729dd017de47f7798d2573376c23bb44bcf6c1b20c5db1316c7437ceeb63b30c566b8613f9c51b66313fa7467b96162b055c14fc88
|
||||
DIST nprolog-4.49.gh.tar.gz 2010955 BLAKE2B 494b0f9925a7511b03da9e086e1a0b936bcd8f13eea8ea2aad4cde3e55f923d036de1bcd4725143cf5755b7e8a6d1791906643e590f167981d890f2f92ec5727 SHA512 fca4064cbc9ae09a5d2a1435b6049e98b7bd28cd3bf58654966665996f310ec71a532f016e54747e2e0ab2132dc9e118e0ca64daed0616eeb7af6ee98c1dcf4d
|
||||
DIST nprolog-4.50.gh.tar.gz 2011294 BLAKE2B 7ea2cf76f3e718334247689858a541ca6e5951263de5c70c5f5cedb87921ed11efadfe094b254dfcd81d5ff38712d43aa448ef26040adcf326e00b7fd7c5d85b SHA512 9d3cac80d0231b09f53f23e54da334dcc47f9381971c697cf3465e0fd6493a17c78cf7bbfcb7c697adba55808d2fcf5c3ad0536aa08fdad0282daf8321b5bb3b
|
||||
DIST nprolog-4.55.gh.tar.gz 2011480 BLAKE2B 4fda77076fbec2af8e441ea7b4e412ef744f2cf73854d9b88501bca1b335f78f9399435ac5c0423188ae88097d887bfd91c4d67ac1b07b45f5873aa5a6cc47af SHA512 fe5511383b844945897fb45897b7d396ce9259d56872ff8a98164680c57cb70922f6be51ce9041dcd26a95a88be9130854fe354342a95e5784995a2e6ef9d0c1
|
||||
|
||||
54
dev-lang/nprolog/nprolog-4.55.ebuild
Normal file
54
dev-lang/nprolog/nprolog-4.55.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