/[gentoo-x86]/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild
Gentoo

Contents of /sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 28 12:05:24 2011 UTC (2 years, 10 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Marking libnss-mysql-1.5_p20060915-r1 ppc for bug 339681

(Portage version: 2.1.9.42/cvs/Linux ppc64)

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-mysql/libnss-mysql-1.5_p20060915-r1.ebuild,v 1.3 2010/10/13 20:09:57 maekke Exp $
4
5 EAPI=2
6
7 inherit eutils multilib autotools
8
9 KEYWORDS="amd64 ppc ~sparc x86"
10
11 DESCRIPTION="NSS MySQL Library."
12 HOMEPAGE="http://libnss-mysql.sourceforge.net/"
13 SRC_URI="http://libnss-mysql.sourceforge.net/snapshot/${PN}-${PV/1.5_p/}.tgz"
14 LICENSE="GPL-2"
15 SLOT="0"
16 IUSE="debug"
17
18 DEPEND="virtual/mysql"
19 S="${WORKDIR}/${PN}"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-no-automagic-debug.diff
23 eautoconf
24 }
25
26 src_configure() {
27 # authentication libraries don't belong into usr,
28 # please don't change this
29 econf --libdir="/$(get_libdir)" \
30 $(use_enable debug)
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die
35
36 find "${D}" -name '*.la' -delete
37
38 newdoc sample/README README.sample
39 dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
40 TODO UPGRADING ChangeLog
41
42 for subdir in sample/{linux,freebsd,complex,minimal} ; do
43 docinto "${subdir}"
44 dodoc "${subdir}/"{*.sql,*.cfg}
45 done
46 }

  ViewVC Help
Powered by ViewVC 1.1.20