/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.112 Revision 1.113
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.112 2009/07/06 18:58:41 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.113 2009/07/06 19:05:07 robbat2 Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: MySQL Team <mysql-bugs@gentoo.org> 6# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
7# - Luca Longinotti <chtekk@gentoo.org> 7# - Luca Longinotti <chtekk@gentoo.org>
8# - Robin H. Johnson <robbat2@gentoo.org> 8# - Robin H. Johnson <robbat2@gentoo.org>
9 9
10WANT_AUTOCONF="latest" 10WANT_AUTOCONF="latest"
11WANT_AUTOMAKE="latest" 11WANT_AUTOMAKE="latest"
12
13case "${EAPI:-0}" in
14 2)
15 EXPORT_FUNCTIONS pkg_setup \
16 src_unpack src_prepare \
17 src_configure src_compile \
18 src_install \
19 pkg_preinst pkg_postinst \
20 pkg_config pkg_postrm
21 IUSE_DEFAULT_ON='+'
22 ;;
23 *)
24 EXPORT_FUNCTIONS pkg_setup \
25 src_unpack \
26 src_compile \
27 src_install \
28 pkg_preinst pkg_postinst \
29 pkg_config pkg_postrm
30 ;;
31esac
12 32
13inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator 33inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator
14 34
15# Shorten the path because the socket path length must be shorter than 107 chars 35# Shorten the path because the socket path length must be shorter than 107 chars
16# and we will run a mysql server during test phase 36# and we will run a mysql server during test phase
107 127
108DESCRIPTION="A fast, multi-threaded, multi-user SQL database server." 128DESCRIPTION="A fast, multi-threaded, multi-user SQL database server."
109HOMEPAGE="http://www.mysql.com/" 129HOMEPAGE="http://www.mysql.com/"
110LICENSE="GPL-2" 130LICENSE="GPL-2"
111SLOT="0" 131SLOT="0"
112IUSE="big-tables debug embedded minimal perl selinux ssl static" 132IUSE="big-tables debug embedded minimal ${IUSE_DEFAULT_ON}perl selinux ssl static"
113 133
114mysql_version_is_at_least "4.1" \ 134mysql_version_is_at_least "4.1" \
115&& IUSE="${IUSE} latin1" 135&& IUSE="${IUSE} latin1"
116 136
117mysql_version_is_at_least "4.1.3" \ 137mysql_version_is_at_least "4.1.3" \
128 148
129mysql_version_is_at_least "5.1.12" \ 149mysql_version_is_at_least "5.1.12" \
130&& IUSE="${IUSE} pbxt" 150&& IUSE="${IUSE} pbxt"
131 151
132[ "${MYSQL_COMMUNITY_FEATURES}" == "1" ] \ 152[ "${MYSQL_COMMUNITY_FEATURES}" == "1" ] \
133&& IUSE="${IUSE} community profiling" 153&& IUSE="${IUSE} ${IUSE_DEFAULT_ON}community profiling"
134
135case "${EAPI:-0}" in
136 2)
137 EXPORT_FUNCTIONS pkg_setup \
138 src_unpack src_prepare \
139 src_configure src_compile \
140 src_install \
141 pkg_preinst pkg_postinst \
142 pkg_config pkg_postrm
143 ;;
144 *)
145 EXPORT_FUNCTIONS pkg_setup \
146 src_unpack \
147 src_compile \
148 src_install \
149 pkg_preinst pkg_postinst \
150 pkg_config pkg_postrm
151 ;;
152esac
153 154
154# 155#
155# HELPER FUNCTIONS: 156# HELPER FUNCTIONS:
156# 157#
157 158

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

  ViewVC Help
Powered by ViewVC 1.1.20