/[gentoo-x86]/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild
Gentoo

Contents of /sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 10 20:22:04 2014 UTC (4 years, 2 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild,v 1.1 2012/10/06 19:58:03 xmw Exp $
4
5 EAPI=3
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="libnss-cache is a library that serves nss lookups"
10 HOMEPAGE="http://code.google.com/p/nsscache/"
11 SRC_URI="http://nsscache.googlecode.com/files/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="multilib"
17
18 src_prepare() {
19 epatch "${FILESDIR}"/${PN}-0.10.1-make.patch
20 epatch "${FILESDIR}"/${PN}-0.10-fix-shadow-test.patch
21 }
22
23 src_compile() {
24 emake CC="$(tc-getCC)" nss_cache || die
25 if use multilib && has_multilib_profile; then
26 emake CC="$(tc-getCC)" nss_cache32 || die
27 fi
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die
32 if use multilib && has_multilib_profile; then
33 emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install32 || die
34 fi
35 }

  ViewVC Help
Powered by ViewVC 1.1.20