/[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.1 - (show annotations) (download)
Sat Oct 6 19:58:03 2012 UTC (18 months, 1 week ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump (euscan)

(Portage version: 2.1.11.13/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.1.ebuild,v 1.1 2011/05/29 16:03:46 idl0r 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