diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-11-13 16:06:55 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-11-13 19:07:06 +0100 |
commit | 8ba15026975e18d4c1ac7e22b239f63f19a17187 (patch) | |
tree | eabc387d111c7745f25a9b3fb9b55436c56b59ca /dev-lang | |
parent | dev-lang/eisl: bump to 5.37 (diff) | |
download | gentoo-8ba15026975e18d4c1ac7e22b239f63f19a17187.tar.gz gentoo-8ba15026975e18d4c1ac7e22b239f63f19a17187.tar.bz2 gentoo-8ba15026975e18d4c1ac7e22b239f63f19a17187.zip |
dev-lang/nprolog: bump to 3.40
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/nprolog/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/nprolog/nprolog-3.40.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest index a09d59eb0ad0..d7d1ed7d93c8 100644 --- a/dev-lang/nprolog/Manifest +++ b/dev-lang/nprolog/Manifest @@ -1 +1,2 @@ DIST nprolog-3.36.tar.gz 598498 BLAKE2B 1cf2f1459698f2c7df01b4a2202e292b5c0918c363ebc761007f7996f405f7334e757678dbe510ea5c3a52dce8a5fa2b84cd898b04b3bfa4ab33d325ecd17401 SHA512 33ce46cec1c1d167b70ba0f59655f58d42e388d63f5515cec88086db1035d54700865ddfbe213f393d65180928c3951c11056471ef5499761182ea6536a0ddb2 +DIST nprolog-3.40.tar.gz 599241 BLAKE2B 7cf99fe273b69468b4b07283eb5008e46dd9661013ea0c4911a70eecb50aa3334167806c2f5f7b39c8485a22a22c960f4c5e79ffeea63d0216e3a327c1be87c2 SHA512 624f0634505312d2a4d1c9be713612cecb95fd28856df31f0bd57ba6b965383eecf7dfaa594b3c740fd05336dc5775f8cc887282438aaf9b02a635847cfdcfac diff --git a/dev-lang/nprolog/nprolog-3.40.ebuild b/dev-lang/nprolog/nprolog-3.40.ebuild new file mode 100644 index 000000000000..39a1d076726e --- /dev/null +++ b/dev-lang/nprolog/nprolog-3.40.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 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}.git" +else + SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2" +SLOT="0" + +PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" ) + +DOCS=( README{,-ja}.md document ) + +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 + + einstalldocs +} |