Contents of /smage/trunk/extras/alx-web/alx-web-0.7.2.20190726.1-r3.smage2
Parent Directory | Revision Log
Revision 13718 -
(show annotations)
(download)
Wed Jul 31 13:57:04 2019 UTC (5 years, 1 month ago) by niro
File size: 1009 byte(s)
Wed Jul 31 13:57:04 2019 UTC (5 years, 1 month ago) by niro
File size: 1009 byte(s)
auto added: ver bump to 0.7.2.20190726.1-r3
1 | # $Id$ |
2 | |
3 | PNAME="alx-web" |
4 | PVER="0.7.2.20190726.1" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="app-mage" |
8 | |
9 | DESCRIPTION="PHP based management interface for ALX using mcore-tools." |
10 | HOMEPAGE="http://www.magellan-linux.de/" |
11 | |
12 | DEPEND=">= net-www/apache2-2.4 |
13 | >= dev-php/php-apache-7.3 |
14 | >= dev-php/php-mysql-7.3 |
15 | >= virtual/sed |
16 | >= app-admin/sudo-1.8" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild alx |
22 | |
23 | SRC_URI=( |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch |
26 | ) |
27 | |
28 | UP2DATE="echo ${PVER}" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # do not overwrite any predefined variables in parsearr() |
36 | mpatch ${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch || die |
37 | |
38 | # use ${PVER}-${PBUILD} as version |
39 | echo "${PVER}-${PBUILD}" > ${SRCDIR}/VERSION || die |
40 | } |
41 | |
42 | preinstall() |
43 | { |
44 | # always keep this files even if the user edited them |
45 | add_conf_prot_ignore /etc/alx-web/config.inc.php /etc/alx-web/mcore-sql-schema.conf |
46 | } |