diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-03 22:39:47 +0100 |
commit | 7f0ccc917c7abe6223784c703d86cd14755691fb (patch) | |
tree | 8c6793f68896b341e22f33d7e6cef88e481f4a8b /games-engines/dMagnetic/dMagnetic-0.31.ebuild | |
parent | 9aa80713372911cec499b3adb2cd746790920916 (diff) |
gentoo resync : 03.07.2021
Diffstat (limited to 'games-engines/dMagnetic/dMagnetic-0.31.ebuild')
-rw-r--r-- | games-engines/dMagnetic/dMagnetic-0.31.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games-engines/dMagnetic/dMagnetic-0.31.ebuild b/games-engines/dMagnetic/dMagnetic-0.31.ebuild new file mode 100644 index 000000000000..cfde8727b2fa --- /dev/null +++ b/games-engines/dMagnetic/dMagnetic-0.31.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit prefix toolchain-funcs + +MY_P="${PN}_${PV}" +DESCRIPTION="A Magnetic Scrolls Interpreter for playing a collection of old text adventures" +HOMEPAGE="https://www.dettus.net/dMagnetic/" +SRC_URI="https://www.dettus.net/${PN}/${MY_P}.tar.bz2" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~m68k ~x86" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + hprefixify src/toplevel/${PN}{,_helpscreens}.c +} + +src_compile() { + emake all \ + CC="$(tc-getCC)" \ + LINK="$(tc-getCC) ${LDFLAGS}" +} + +src_test() { + emake check \ + SHA256_CMD=sha256sum +} + +src_install() { + dobin ${PN} + doman ${PN}.6 ${PN}ini.5 + dodoc README.txt + + insinto /etc + doins ${PN}.ini +} |