mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/nprolog: bump to 4.50
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST nprolog-4.37.gh.tar.gz 1999398 BLAKE2B 9e7dab51c15fd84c0d72a460d19b427dc6219b58b499a640914eb241cde67a4a62ae2178f0bfbf39d16a7a7e02cc5d752704963f4fe36dbf89041064afef3d84 SHA512 62fc7e992bda1eb4ebed3c0cd037074ad155faa47aafcc065baf61e18398b07404b3ff6be6f9650031738d8eb11ff315b669019b9a72649f6737680c4eec681f
|
||||
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
|
||||
|
||||
54
dev-lang/nprolog/nprolog-4.50.ebuild
Normal file
54
dev-lang/nprolog/nprolog-4.50.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