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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Tue Aug 21 18:29:07 2007 UTC (12 years, 7 months ago) by hanno
Branch: MAIN
Changes since 1.5: +3 -2 lines
libnss-mysql proper fix for .la-file
(Portage version: 2.1.3.6)

1 vivo 1.5 # Copyright 1999-2007 Gentoo Foundation
2 vanquirius 1.1 # Distributed under the terms of the GNU General Public License v2
3 hanno 1.6 # $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-mysql/libnss-mysql-1.5.ebuild,v 1.5 2007/03/04 17:09:24 vivo Exp $
4 hanno 1.2
5     inherit multilib
6 vanquirius 1.1
7 chtekk 1.4 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
8    
9 vanquirius 1.1 DESCRIPTION="NSS MySQL Library."
10     HOMEPAGE="http://libnss-mysql.sourceforge.net/"
11     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12     LICENSE="GPL-2"
13     SLOT="0"
14     IUSE=""
15    
16 chtekk 1.4 DEPEND="virtual/mysql"
17     RDEPEND="${DEPEND}"
18 vanquirius 1.1
19     src_install() {
20     dodir "/etc"
21 hanno 1.6 dodir "/usr/lib"
22 hanno 1.2 einstall libdir="${D}/$(get_libdir)"
23 hanno 1.6 mv "${D}/$(get_libdir)/libnss_mysql.la" "${D}/usr/$(get_libdir)/"
24 vanquirius 1.1
25     newdoc sample/README README.sample
26     dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
27     TODO UPGRADING ChangeLog
28    
29 vivo 1.5 for subdir in sample/{linux,freebsd,complex,minimal} ; do
30 vanquirius 1.1 docinto "${subdir}"
31     dodoc "${subdir}/"{*.sql,*.cfg}
32     done
33     }
34    
35     pkg_postinst() {
36     einfo "As of version 1.3, the [section] lines in the configuration files"
37 chtekk 1.4 einfo "are meaningless and will be ignored. Remove them to avoid extra"
38 vanquirius 1.1 einfo "parsing overhead."
39     }

  ViewVC Help
Powered by ViewVC 1.1.20