diff options
Diffstat (limited to 'meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.1.8.bb')
-rw-r--r-- | meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.1.8.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.1.8.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.1.8.bb new file mode 100644 index 000000000..388f1888c --- /dev/null +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.1.8.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Web-based MySQL administration interface" | ||
2 | HOMEPAGE = "http://www.phpmyadmin.net" | ||
3 | # Main code is GPLv2, libraries/tcpdf is under LGPLv3, js/jquery is under MIT | ||
4 | LICENSE = "GPLv2 & LGPLv3 & MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a \ | ||
6 | file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ | ||
9 | file://apache.conf" | ||
10 | |||
11 | SRC_URI[md5sum] = "14fd2f6d2f92a8dfb3954513da1c1687" | ||
12 | SRC_URI[sha256sum] = "857f133911eddcec16824f3ecc7a68f93288ab2a2f1943bfce3b06b58b625cd6" | ||
13 | |||
14 | S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" | ||
15 | |||
16 | inherit allarch | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${datadir}/${BPN} | ||
20 | cp -a * ${D}${datadir}/${BPN} | ||
21 | |||
22 | install -d ${D}${sysconfdir}/apache2/conf.d | ||
23 | install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf | ||
24 | |||
25 | # Remove a few scripts that explicitly require bash (!) | ||
26 | rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh | ||
27 | } | ||
28 | |||
29 | FILES_${PN} = "${datadir}/${BPN} \ | ||
30 | ${sysconfdir}/apache2/conf.d" | ||
31 | |||