app-shells/squirrelsh: port to EAPI=7

Closes: https://bugs.gentoo.org/724190
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2020-09-25 15:20:21 -04:00
parent 65ca756f24
commit a135d26fd7

View File

@@ -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="4"
EAPI=7
inherit eutils multilib toolchain-funcs
inherit toolchain-funcs
DESCRIPTION="Cross-platform object-oriented scripting shell using the squirrel language"
HOMEPAGE="http://squirrelsh.sourceforge.net/"
@@ -18,14 +18,14 @@ RDEPEND="dev-libs/libpcre"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
epatch "${FILESDIR}"/${PN}-no-strip.patch
epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
epatch "${FILESDIR}"/${PN}-no-docs.patch
epatch "${FILESDIR}"/${P}-gcc6.patch
}
PATCHES=(
"${FILESDIR}"/${PN}-rename-LDFLAGS.patch
"${FILESDIR}"/${PN}-no-strip.patch
"${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
"${FILESDIR}"/${PN}-remove-forced-abi.patch
"${FILESDIR}"/${PN}-no-docs.patch
"${FILESDIR}"/${P}-gcc6.patch
)
src_configure() {
#This package uses a custom written configure script