| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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.15 2006/02/08 16:17:52 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.16 2006/02/08 21:25:53 vivo Exp $ |
| 4 | |
4 | |
| 5 | # Author: Francesco Riosa <vivo at gentoo.org> |
5 | # Author: Francesco Riosa <vivo at gentoo.org> |
| 6 | # Maintainer: Francesco Riosa <vivo at gentoo.org> |
6 | # Maintainer: Francesco Riosa <vivo at gentoo.org> |
| 7 | |
7 | |
| 8 | inherit eutils flag-o-matic gnuconfig mysql_fx |
8 | inherit eutils flag-o-matic gnuconfig mysql_fx |
| … | |
… | |
| 491 | # create a list of files, to be used |
491 | # create a list of files, to be used |
| 492 | # by external utilities |
492 | # by external utilities |
| 493 | mkdir -p "${D}/var/lib/eselect/mysql/" |
493 | mkdir -p "${D}/var/lib/eselect/mysql/" |
| 494 | local filelist="${D}/var/lib/eselect/mysql/mysql${MY_SUFFIX}.filelist" |
494 | local filelist="${D}/var/lib/eselect/mysql/mysql${MY_SUFFIX}.filelist" |
| 495 | pushd "${D}/" &>/dev/null |
495 | pushd "${D}/" &>/dev/null |
| 496 | mkdir -p "${ROOT}/var/lib/eselect/mysql/" |
|
|
| 497 | env -i find usr/bin/ usr/sbin/ usr/share/man \ |
496 | env -i find usr/bin/ usr/sbin/ usr/share/man \ |
| 498 | -type f -name "*${MY_SUFFIX}*" \ |
497 | -type f -name "*${MY_SUFFIX}*" \ |
| 499 | -and -not -name "mysql_config${MY_SUFFIX}" \ |
498 | -and -not -name "mysql_config${MY_SUFFIX}" \ |
| 500 | > "${filelist}" |
499 | > "${filelist}" |
| 501 | echo "${MY_SYSCONFDIR#"/"}" >> "${filelist}" |
500 | echo "${MY_SYSCONFDIR#"/"}" >> "${filelist}" |