[sys-auth/libnss-extrausers] EAPI 7

This commit is contained in:
Robert Förster (Dessa) 2021-04-21 23:56:32 +02:00
parent b9b8e2681f
commit 1b7da85f28
1 changed files with 6 additions and 7 deletions

View File

@ -1,9 +1,7 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=5 EAPI=7
inherit epatch multilib
DESCRIPTION="nss module to have an additional passwd, shadow and group file" DESCRIPTION="nss module to have an additional passwd, shadow and group file"
HOMEPAGE="https://sources.debian.org/src/libnss-extrausers/0.6-4/" HOMEPAGE="https://sources.debian.org/src/libnss-extrausers/0.6-4/"
@ -15,8 +13,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
src_prepare() { src_prepare() {
local d="${WORKDIR}"/debian/patches for patch in $(< "${WORKDIR}"/debian/patches/series); do
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series) eapply "${WORKDIR}"/debian/patches/${patch}
done
default default
} }
@ -25,5 +24,5 @@ src_compile() {
} }
src_install() { src_install() {
emake DESTDIR="${D}usr/" libprefix="$(get_libdir)" install emake DESTDIR="${D}" libprefix="/usr/$(get_libdir)" install
} }