libnss-mysql test ohne debug
Hanno Böck

Hanno Böck commited on 2010-09-08 11:12:06
Zeige 2 geänderte Dateien mit 49 Einfügungen und 0 Löschungen.

... ...
@@ -0,0 +1,2 @@
1
+DIST libnss-mysql-20060915.tgz 689970 RMD160 fd63f11cbbe6218ce4678f2798c8faf3e660facf SHA1 4ded39c70eaf28fad9ec67c2f0d08cfb10e58e81 SHA256 d0705ab7a185146d050a9ef486c4af03d66fb61fb511c4e0d29714b4c3e5848f
2
+EBUILD libnss-mysql-1.5_p20060915-r1.ebuild 1190 RMD160 2fe10a2693caca9c1a06031e9b5aa19c99c04fb5 SHA1 abf599015f2e652f8662ca1d712b46b6d0359555 SHA256 e667368a10ec76cfce014d7fb638b25241659097af2e752ab63e829777800f41
... ...
@@ -0,0 +1,47 @@
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
+	local myconf=""
23
+
24
+	# use_enable doesn't work due to a bug in the configure script
25
+	# that enables debug also with --disable-debug
26
+	use debug && myconf="--enable-debug"
27
+
28
+	# authentication libraries don't belong into usr,
29
+	# please don't change this
30
+	econf --libdir="/$(get_libdir)" \
31
+		$myconf
32
+}
33
+
34
+src_install() {
35
+	emake DESTDIR="${D}" install || die
36
+
37
+	find "${D}" -name '*.la' -delete
38
+
39
+	newdoc sample/README README.sample
40
+	dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
41
+		TODO UPGRADING ChangeLog
42
+
43
+	for subdir in sample/{linux,freebsd,complex,minimal} ; do
44
+		docinto "${subdir}"
45
+		dodoc "${subdir}/"{*.sql,*.cfg}
46
+	done
47
+}
0 48