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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun May 29 16:03:46 2011 UTC (3 years, 6 months ago) by idl0r
Branch: MAIN
Version bump, also fixes bug 368951. Remove old versions. Add multilib support. Add myself as secondary maintainer.

(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.ebuild,v 1.1 2011/01/13 06:47:11 robbat2 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}"/${P}-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