mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-lang/nprolog: bump to 4.76
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
83e9846ca1
commit
4247a7e3c5
@ -1 +1,2 @@
|
||||
DIST nprolog-4.72.gh.tar.gz 1877894 BLAKE2B 7f860c1e658e276465929310c65699d79f16b7c575419cf02f73bc3edb3e8fb95ec1173549e49d0ddc1d66fc34f3609b740d1e0eb515fe2f48cd214c20f20e8c SHA512 55b87bfd3b1cf82deaf4e147e408575145c4902a0cd582971adf0216036fb4508f8c7e9f9a9ab8c1222030b1c78b03d3c90c1872a1c47bcbddfbefc0ffecf6f0
|
||||
DIST nprolog-4.76.gh.tar.gz 1879255 BLAKE2B 02b861e69c40ceb94814c987909e78ddc15bb32f3b8b224be6430bc6d6bef5f0040ac6782e34e997b1e593d3a014bc2c54d2dfcc75612681124700299711fd9c SHA512 ccee9b2e41f24059aa05eaca2847dc599455a774bfde13e60b1ec1c472a52c6f7ba49150243f9e1f74979ab7366b3c8a8bdcc3898bafd17a5f7a4749413773ad
|
||||
|
||||
53
dev-lang/nprolog/nprolog-4.76.ebuild
Normal file
53
dev-lang/nprolog/nprolog-4.76.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# 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}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin npl
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r example library
|
||||
|
||||
if use doc ; then
|
||||
DOCS+=( document )
|
||||
|
||||
docompress -x "/usr/share/doc/${PF}/document"
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user