| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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-v2.eclass,v 1.15 2012/04/18 02:08:34 robbat2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.17 2012/07/23 10:57:15 jmbsvicetto Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql-v2.eclass |
5 | # @ECLASS: mysql-v2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Maintainers: |
7 | # Maintainers: |
| 8 | # - MySQL Team <mysql-bugs@gentoo.org> |
8 | # - MySQL Team <mysql-bugs@gentoo.org> |
| … | |
… | |
| 13 | # The mysql-v2.eclass is the base eclass to build the mysql and |
13 | # The mysql-v2.eclass is the base eclass to build the mysql and |
| 14 | # alternative projects (mariadb) ebuilds. |
14 | # alternative projects (mariadb) ebuilds. |
| 15 | # This eclass uses the mysql-autotools and mysql-cmake eclasses for the |
15 | # This eclass uses the mysql-autotools and mysql-cmake eclasses for the |
| 16 | # specific bits related to the build system. |
16 | # specific bits related to the build system. |
| 17 | # It provides the src_unpack, src_prepare, src_configure, src_compile, |
17 | # It provides the src_unpack, src_prepare, src_configure, src_compile, |
| 18 | # scr_install, pkg_preinst, pkg_postinst, pkg_config and pkg_postrm |
18 | # src_install, pkg_preinst, pkg_postinst, pkg_config and pkg_postrm |
| 19 | # phase hooks. |
19 | # phase hooks. |
| 20 | |
20 | |
| 21 | # @ECLASS-VARIABLE: BUILD |
21 | # @ECLASS-VARIABLE: BUILD |
| 22 | # @DESCRIPTION: |
22 | # @DESCRIPTION: |
| 23 | # Build type of the mysql version |
23 | # Build type of the mysql version |
| … | |
… | |
| 221 | |
221 | |
| 222 | DEPEND="${DEPEND} |
222 | DEPEND="${DEPEND} |
| 223 | virtual/yacc |
223 | virtual/yacc |
| 224 | " |
224 | " |
| 225 | |
225 | |
| 226 | DEPEND="${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=sys-libs/ncurses-5.7-r3 ) )" |
226 | DEPEND="${DEPEND} static? ( sys-libs/ncurses[static-libs] )" |
| 227 | |
227 | |
| 228 | # compile-time-only |
228 | # compile-time-only |
| 229 | DEPEND="${DEPEND} >=dev-util/cmake-2.4.3" |
229 | DEPEND="${DEPEND} >=dev-util/cmake-2.4.3" |
| 230 | |
230 | |
| 231 | # compile-time-only |
231 | # compile-time-only |