summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-11-14 16:04:04 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 16:04:04 +0100
commit219b575bc8e6d348a0dc99dd47ee13694ec0ca52 (patch)
tree8f1ba52e42b401b63feda054d05354fa7ed1615c /app-arch/mscompress
parentapp-arch/duff: Port to EAPI 7 (diff)
downloadgentoo-219b575bc8e6d348a0dc99dd47ee13694ec0ca52.tar.gz
gentoo-219b575bc8e6d348a0dc99dd47ee13694ec0ca52.tar.bz2
gentoo-219b575bc8e6d348a0dc99dd47ee13694ec0ca52.zip
app-arch/mscompress: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-arch/mscompress')
-rw-r--r--app-arch/mscompress/files/mscompress-0.3-amd64.patch4
-rw-r--r--app-arch/mscompress/mscompress-0.3-r1.ebuild18
2 files changed, 10 insertions, 12 deletions
diff --git a/app-arch/mscompress/files/mscompress-0.3-amd64.patch b/app-arch/mscompress/files/mscompress-0.3-amd64.patch
index 95e4e617aefc..305b809d2b60 100644
--- a/app-arch/mscompress/files/mscompress-0.3-amd64.patch
+++ b/app-arch/mscompress/files/mscompress-0.3-amd64.patch
@@ -1,5 +1,5 @@
---- mscompress.c.old 2006-11-27 23:58:51.000000000 +0100
-+++ mscompress.c 2006-11-27 23:59:50.000000000 +0100
+--- a/mscompress.c
++++ b/mscompress.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <fcntl.h>
diff --git a/app-arch/mscompress/mscompress-0.3-r1.ebuild b/app-arch/mscompress/mscompress-0.3-r1.ebuild
index 23ab7db21192..7cb1bda438f0 100644
--- a/app-arch/mscompress/mscompress-0.3-r1.ebuild
+++ b/app-arch/mscompress/mscompress-0.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Microsoft compress.exe/expand.exe compatible (de)compressor"
HOMEPAGE="http://gnuwin32.sourceforge.net/packages/mscompress.htm"
@@ -12,13 +12,11 @@ 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"
-IUSE=""
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-amd64.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-amd64.patch
+)
src_configure() {
tc-export CC
@@ -29,5 +27,5 @@ src_configure() {
src_install() {
dobin mscompress msexpand
doman mscompress.1 msexpand.1
- dodoc README ChangeLog
+ einstalldocs
}