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

Diff of /eclass/mysql.eclass

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

Revision 1.180 Revision 1.181
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/Attic/mysql.eclass,v 1.180 2014/07/29 17:59:21 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/mysql.eclass,v 1.181 2014/07/29 20:24:00 robbat2 Exp $
4 4
5# @ECLASS: mysql.eclass 5# @ECLASS: mysql.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# MySQL Team <mysql-bugs@gentoo.org> 7# MySQL Team <mysql-bugs@gentoo.org>
8# Luca Longinotti <chtekk@gentoo.org> 8# Luca Longinotti <chtekk@gentoo.org>
25# and we will run a mysql server during test phase 25# and we will run a mysql server during test phase
26S="${WORKDIR}/mysql" 26S="${WORKDIR}/mysql"
27 27
28[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z" 28[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z"
29if [[ "${MY_EXTRAS_VER}" == "live" ]]; then 29if [[ "${MY_EXTRAS_VER}" == "live" ]]; then
30 EGIT_PROJECT=mysql-extras
31 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" 30 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
31 EGIT_CHECKOUT_DIR=${WORKDIR}/mysql-extras
32 EGIT_CLONE_TYPE=shallow
32 inherit git-2 33 inherit git-r3
33fi 34fi
34 35
35case "${EAPI:-0}" in 36case "${EAPI:-0}" in
36 2|3|4|5) 37 2|3|4|5)
37 EXPORT_FUNCTIONS pkg_setup \ 38 EXPORT_FUNCTIONS pkg_setup \
876 # Initialize the proper variables first 877 # Initialize the proper variables first
877 mysql_init_vars 878 mysql_init_vars
878 879
879 unpack ${A} 880 unpack ${A}
880 # Grab the patches 881 # Grab the patches
881 [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git-2_src_unpack 882 [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git-r3_src_unpack
882 883
883 mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}" 884 mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}"
884 885
885 # Be backwards compatible for now 886 # Be backwards compatible for now
886 case ${EAPI:-0} in 887 case ${EAPI:-0} in

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181

  ViewVC Help
Powered by ViewVC 1.1.20