blob: 40a93b27430785fc2c9ccdcd2aea4ac73badd926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild,v 1.1 2014/09/17 22:06:21 ryao Exp $
EAPI=5
MY_PN="nss-altfiles"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="NSS module to read passwd/group files from CoreOS /usr location"
HOMEPAGE="https://github.com/coreos/${MY_PN}"
SRC_URI="https://github.com/coreos/${MY_PN}/archive/v${PV}.zip"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64-linux"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_configure() {
: # Don't bother with the custom configure script.
}
src_compile() {
emake DATADIR=/usr/share/baselayout MODULE_NAME=usrfiles
}
src_install() {
dolib.so libnss_usrfiles.so.2
}
|