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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 13 07:40:48 2011 UTC (8 years, 5 months ago) by hanno
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
libnss-mysql: install location back to /usr, because it needs to be on the same partition as libmysql.

(Portage version: 2.1.10.15/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.ebuild,v 1.1 2010/02/23 12:43:44 hanno Exp $
4
5 EAPI=2
6
7 inherit multilib
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_configure() {
22 # authentication libraries don't belong into usr,
23 # please don't change this
24 econf --libdir="/$(get_libdir)" \
25 $(use_enable debug)
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die
30
31 find "${D}" -name '*.la' -delete
32
33 newdoc sample/README README.sample
34 dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
35 TODO UPGRADING ChangeLog
36
37 for subdir in sample/{linux,freebsd,complex,minimal} ; do
38 docinto "${subdir}"
39 dodoc "${subdir}/"{*.sql,*.cfg}
40 done
41 }

  ViewVC Help
Powered by ViewVC 1.1.20