From c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 May 2021 01:33:16 +0100 Subject: gentoo resync : 07.05.2021 --- app-arch/zoo/zoo-2.10-r5.ebuild | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'app-arch/zoo/zoo-2.10-r5.ebuild') diff --git a/app-arch/zoo/zoo-2.10-r5.ebuild b/app-arch/zoo/zoo-2.10-r5.ebuild index 6c1f749c178c..0cda3159c240 100644 --- a/app-arch/zoo/zoo-2.10-r5.ebuild +++ b/app-arch/zoo/zoo-2.10-r5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit toolchain-funcs @@ -9,23 +9,24 @@ DESCRIPTION="Manipulate archives of files in compressed form" HOMEPAGE="https://packages.debian.org/sid/utils/zoo" SRC_URI="http://http.debian.net/debian/pool/main/z/${PN}/${PN}_${PV}.orig.tar.gz http://http.debian.net/debian/pool/main/z/${PN}/${PN}_${PV}-28.debian.tar.xz" +S="${WORKDIR}"/${P}.orig LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" -IUSE="" -S="${WORKDIR}/${P}.orig" +PATCHES=( + "${WORKDIR}"/debian/patches/. + "${FILESDIR}"/${P}-gentoo-fbsd-r1.patch + "${FILESDIR}"/${P}-makefile.patch +) -PATCHES=( "${FILESDIR}/zoo-2.10-gentoo-fbsd-r1.patch" ) - -src_prepare() { - eapply "${WORKDIR}"/debian/patches/*.patch - default +src_configure() { + tc-export CC } src_compile() { - emake CC="$(tc-getCC)" linux + emake linux } src_install() { -- cgit v1.2.3