blob: ab73869081422490dcaee0f09af187c3ec198253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.2.5.ebuild,v 1.2 2002/05/27 17:27:37 drobbins Exp $
MY_PN=phpMyAdmin
S=${WORKDIR}/${MY_PN}-${PV}
DESCRIPTION="Web-based administration for MySQL database in php"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-php.tar.bz2"
HOMEPAGE="http://phpmyadmin.sourceforge.net/"
DEPEND=">=net-www/apache-1.3.24-r1 >=dev-db/mysql-3.23.38 >=dev-lang/php-4.1.2-r5"
src_compile() { :; }
src_install () {
insinto /home/httpd/htdocs/phpmyadmin
doins *.{php,html}
insinto /home/httpd/htdocs/phpmyadmin/images
doins images/*.{gif,png}
insinto /home/httpd/htdocs/phpmyadmin/scripts
doins scripts/*.sh
insinto /home/httpd/htdocs/phpmyadmin/lang
doins lang/*.{php,sh}
insinto /home/httpd/htdocs/phpmyadmin/libraries
doins libraries/*.{php,js}
insinto /home/httpd/htdocs/phpmyadmin/libraries/auth
doins libraries/auth/*.php
dodoc ANNOUNCE.txt CREDITS ChangeLog TODO Documentation.{txt,html} \
INSTALL LICENSE RELEASE-DATE*
}
pkg_postinst() {
einfo
einfo "Make sure you edit /home/httpd/htdocs/phpmyadmin/config.inc.php"
einfo
}
|