mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-lang/nprolog: bump to 3.10
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
39
dev-lang/nprolog/nprolog-3.10.ebuild
Normal file
39
dev-lang/nprolog/nprolog-3.10.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user