From 6fe46654284f96df0599855e50d8ae6b3dcf125b Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 16 Nov 2024 19:20:21 +0100 Subject: app-arch/mscompress: add eautoreconf to fix configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/906001 Signed-off-by: Andreas K. Hüttel --- app-arch/mscompress/mscompress-0.3-r1.ebuild | 31 ------------------------ app-arch/mscompress/mscompress-0.3-r2.ebuild | 36 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 31 deletions(-) delete mode 100644 app-arch/mscompress/mscompress-0.3-r1.ebuild create mode 100644 app-arch/mscompress/mscompress-0.3-r2.ebuild (limited to 'app-arch') diff --git a/app-arch/mscompress/mscompress-0.3-r1.ebuild b/app-arch/mscompress/mscompress-0.3-r1.ebuild deleted file mode 100644 index eb684b82abbc..000000000000 --- a/app-arch/mscompress/mscompress-0.3-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor" -HOMEPAGE="https://gnuwin32.sourceforge.net/packages/mscompress.htm" -SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" - -PATCHES=( - "${FILESDIR}"/${P}-makefile.patch - "${FILESDIR}"/${P}-amd64.patch -) - -src_configure() { - tc-export CC - [[ $(tc-arch) == ppc* ]] && append-flags -fsigned-char - econf -} - -src_install() { - dobin mscompress msexpand - doman mscompress.1 msexpand.1 - einstalldocs -} diff --git a/app-arch/mscompress/mscompress-0.3-r2.ebuild b/app-arch/mscompress/mscompress-0.3-r2.ebuild new file mode 100644 index 000000000000..d2ca43f04369 --- /dev/null +++ b/app-arch/mscompress/mscompress-0.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs autotools + +DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor" +HOMEPAGE="https://gnuwin32.sourceforge.net/packages/mscompress.htm" +SRC_URI="ftp://ftp.penguin.cz/pub/users/mhi/mscompress/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-amd64.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + tc-export CC + [[ $(tc-arch) == ppc* ]] && append-flags -fsigned-char + econf +} + +src_install() { + dobin mscompress msexpand + doman mscompress.1 msexpand.1 + einstalldocs +} -- cgit v1.2.3-65-gdbad