cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / database / phpmyadmin / phpmyadmin.conf
blob3eef8d81913a44c9c463806b680eabaf04373ab7
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../phpmyadmin/phpmyadmin.conf
5 # Copyright (C) 2007 The OpenSDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- SDE-COPYRIGHT-NOTE-END ---
15 # use the php prefix
16 pkgprefix -t php
17 prefix=$( pkgprefix php )
18 set_confopt
20 # custom installer
21 makeopt=
22 makeinstopt=
24 hook_add postmake 5 'phpmyadmin_install'
26 phpmyadmin_install() {
27         local x="phpMyAdmin"
29         mkdir -vp $root$datadir/$x
31         tar -cf - * | tar -C $root$datadir/$x -xvf -
33         cat <<- EOT > $root$sysconfdir/$x.conf-dist
34                 Alias /$x $datadir/$x
35                 <Directory $datadir/$x>
36                         DirectoryIndex index.php
37                 </Directory>
38         EOT