diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-09-08 23:58:57 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-09-09 02:06:05 +0200 |
commit | 0fa32a06b68fa94b520bea66471c689b6d119fc3 (patch) | |
tree | 3a24b9d2e3b5c01cb9d25760b288ceff40cd37b8 /dev-lang/nprolog | |
parent | sys-process/audit: stabilize 4.0.1-r1, 3.1.4-r1 for amd64, x86 (diff) | |
download | gentoo-0fa32a06b68fa94b520bea66471c689b6d119fc3.tar.gz gentoo-0fa32a06b68fa94b520bea66471c689b6d119fc3.tar.bz2 gentoo-0fa32a06b68fa94b520bea66471c689b6d119fc3.zip |
dev-lang/nprolog: bump to 3.10
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/nprolog')
-rw-r--r-- | dev-lang/nprolog/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/nprolog/nprolog-3.10.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/nprolog/Manifest b/dev-lang/nprolog/Manifest index 73fdeffbbc14..2eb8a7e40f48 100644 --- a/dev-lang/nprolog/Manifest +++ b/dev-lang/nprolog/Manifest @@ -1,2 +1,3 @@ DIST nprolog-1.94.tar.gz 128172 BLAKE2B b3a2de8e5e247bce55fc6eabbd06dddee1d42d8d993b38a2effb505647e5a4a60f89f85f14be4e469d81b5488b4494e0a45c2672b2ba00b8f06ae0545951d08e SHA512 7db39847ecfa91b65fad1e035ddb9267856726adc9741a76fdd088c8f678ba8e98eef3890283b543d345a9441dabada4038984e12709898c6887a186a19136c9 DIST nprolog-2.50.tar.gz 229903 BLAKE2B 1ddc782ddb8e5dff49c4abeb75b34607ff4ed766b98aebf7dba4a799f353649ac942c504363d7dec17c03fc17d01d45b33efcf6f8a76158d5366e30b7647462d SHA512 f37accf8fb156a306ff2aefd11e655fbbdd4e7f02030a9762e25676cc6e88eaa31f7600f421d7ea982e7f0dd47519b0475f4c93dfcb67f1b1d41211d31107163 +DIST nprolog-3.10.tar.gz 582817 BLAKE2B c32ded1a80dd3a32b587685a9e803c1e785433b655cdd6cdba66a0e933376cd354be06b8b7fa2fd626839ee9ed07b0a8464c7ee3bf582a6e9a91130d71b1d56f SHA512 ab5afc6fb8ed861e2dcab9cd3d9e3f9d9d5be8c443855b2090cf1b2233c6d6edbbe56e7f895d0665e57b4d021895a17ff7839f30b318c89e9ac4c527af2fb7ac diff --git a/dev-lang/nprolog/nprolog-3.10.ebuild b/dev-lang/nprolog/nprolog-3.10.ebuild new file mode 100644 index 000000000000..40d3b000da40 --- /dev/null +++ b/dev-lang/nprolog/nprolog-3.10.ebuild @@ -0,0 +1,39 @@ +# 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" + +DOCS=( README{,-ja}.md document ) + +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 +} |