diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-06-02 11:40:22 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-06-22 20:43:42 +0200 |
commit | 7f82d83264a0e8ea4cca4521a70fbfd58e323206 (patch) | |
tree | 085ccee877531a32b7e19b4bf99e5ae7002c3ade /app-arch/arc | |
parent | app-arch/afio: add 2.5.2 (diff) | |
download | gentoo-7f82d83264a0e8ea4cca4521a70fbfd58e323206.tar.gz gentoo-7f82d83264a0e8ea4cca4521a70fbfd58e323206.tar.bz2 gentoo-7f82d83264a0e8ea4cca4521a70fbfd58e323206.zip |
app-arch/arc: add 5.21q
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/36969
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-arch/arc')
-rw-r--r-- | app-arch/arc/Manifest | 1 | ||||
-rw-r--r-- | app-arch/arc/arc-5.21q.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-arch/arc/Manifest b/app-arch/arc/Manifest index e7870c754dc3..59c39bc41307 100644 --- a/app-arch/arc/Manifest +++ b/app-arch/arc/Manifest @@ -1 +1,2 @@ DIST arc-5.21p.tar.gz 84791 BLAKE2B 3dc6c2e9c83a9021a9a865676e248278f88b3de868846b39e1b1a9365299c410e7bb3c0ed07cfd3ad1e3f6340eb0e3d21b57a7c6e8ea92f61b51a914d7e4fa0f SHA512 c70c01ec407cc27f6507e2715d8b553277609cb49369a1e65a83d007362a24b69bb09ef2bf168ee36ca6797bd4524644a89e9114d866351ae53fece193c2967c +DIST arc-5.21q.tar.gz 79366 BLAKE2B 054a950f9abeaf88e964b2b13a20d41074f744569eaa2ae07198f3fb43bc837a1ded746dc07567ac056496eac7973473513f1ff55103d1b7a14f09e899289f71 SHA512 666a9cd5c7b6e148540d707b32f5cfe43f8c59b599199478478501b93f261973dc810f36824459f76f460bb0208b659dd87e7f0b4ad207ee2d962d191e5d3341 diff --git a/app-arch/arc/arc-5.21q.ebuild b/app-arch/arc/arc-5.21q.ebuild new file mode 100644 index 000000000000..73081b1f1eed --- /dev/null +++ b/app-arch/arc/arc-5.21q.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Create & extract files from DOS .ARC files" +HOMEPAGE="https://arc.sourceforge.net" +SRC_URI="https://github.com/ani6al/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +PATCHES=( + "${FILESDIR}"/${PN}-5.21m-darwin.patch + "${FILESDIR}"/${PN}-5.21m-gentoo-fbsd.patch + "${FILESDIR}"/${PN}-5.21p-fno-common.patch + "${FILESDIR}"/${PN}-5.21p-variadic-arcdie.patch +) + +src_prepare() { + default + + sed -i Makefile \ + -e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' \ + || die "sed Makefile" +} + +src_compile() { + emake CC="$(tc-getCC)" OPT="${LDFLAGS}" +} + +src_install() { + dobin arc marc + doman arc.1 + dodoc Arc521.doc Arcinfo Changelog Readme +} |