2019-03-21 18:54:44 +01:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2019-03-21 21:16:13 +01:00
|
|
|
inherit epatch multilib
|
2019-03-21 18:54:44 +01:00
|
|
|
|
|
|
|
DESCRIPTION="nss module to have an additional passwd, shadow and group file"
|
|
|
|
HOMEPAGE="https://sources.debian.org/src/libnss-extrausers/0.6-4/"
|
|
|
|
SRC_URI="mirror://debian/pool/main/libn/${PN}/${PN}_${PV}.orig.tar.gz
|
|
|
|
mirror://debian/pool/main/libn/${PN}/${PN}_${PV}-4.debian.tar.xz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
local d="${WORKDIR}"/debian/patches
|
|
|
|
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
|
|
|
|
default
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake -j1
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2019-03-21 21:24:47 +01:00
|
|
|
emake DESTDIR="${D}usr/" libprefix="$(get_libdir)" install
|
2019-03-21 18:54:44 +01:00
|
|
|
}
|