30 lines
685 B
Bash
30 lines
685 B
Bash
|
# Copyright 1999-2019 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
inherit epatch
|
||
|
|
||
|
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() {
|
||
|
emake DESTDIR="${D}" libprefix="${D}/usr/${get_libdir}" install
|
||
|
}
|