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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 10 20:22:14 2014 UTC (5 years, 5 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 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-mysql/libnss-mysql-1.5_p20060915-r3.ebuild,v 1.1 2014/07/31 02:57:55 grknight Exp $
4
5 EAPI=5
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 RDEPEND="${DEPEND}"
20 S="${WORKDIR}/${PN}"
21
22 DOCS=( AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS
23 TODO UPGRADING ChangeLog
24 )
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}-no-automagic-debug.diff
28 eautoconf
29 }
30
31 src_configure() {
32 # Usually, authentication libraries don't belong into usr.
33 # But here, it's required that the lib is in the same dir
34 # as libmysql, because else failures may occur on boot if
35 # udev tries to access a user / group that doesn't exist
36 # on the system before /usr is mounted.
37 econf --libdir="/usr/$(get_libdir)" \
38 $(use_enable debug)
39 }
40
41 src_install() {
42 default
43
44 find "${D}" -name '*.la' -delete
45
46 newdoc sample/README README.sample
47
48 for subdir in sample/{linux,freebsd,complex,minimal} ; do
49 docinto "${subdir}"
50 dodoc "${subdir}/"{*.sql,*.cfg}
51 done
52 }

  ViewVC Help
Powered by ViewVC 1.1.20