dev-libs/libmix: port to EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2020-11-18 01:19:24 +00:00
parent a7b5dedaf8
commit ca70daf0e4

View File

@@ -1,30 +1,30 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools base multilib toolchain-funcs
EAPI=7
inherit autotools toolchain-funcs
DESCRIPTION="Programs Crypto/Network/Multipurpose Library"
HOMEPAGE="http://mixter.void.ru/"
SRC_URI="http://mixter.void.ru/${P/.}.tgz"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux"
IUSE="static-libs"
S=${WORKDIR}/${PN}-v${PV}
PATCHES=(
"${FILESDIR}"/${P}-fix-pattern.patch
"${FILESDIR}"/${P}-gentoo-r1.patch
"${FILESDIR}"/${P}-libnet.patch
)
DOCS=( CHANGES )
src_prepare() {
base_src_prepare
default
mv configure.{in,ac} || die
sed -i \
-e 's/expf/libmix_expf/g' \