Magellan Linux

Contents of /smage/trunk/extras/alx-web/alx-web-0.7.2.20190726.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14337 - (show annotations) (download)
Thu Jul 9 08:47:53 2020 UTC (3 years, 9 months ago) by niro
File size: 1060 byte(s)
auto added: ver bump to 0.7.2.20190726.1-r4
1 # $Id$
2
3 PNAME="alx-web"
4 PVER="0.7.2.20190726.1"
5 PBUILD="r4"
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 msetfeature "!check" # no check target in Makefile
22 sminclude mbuild alx
23
24 SRC_URI=(
25 mirror://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch
27 )
28
29 UP2DATE="echo ${PVER}"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # do not overwrite any predefined variables in parsearr()
37 mpatch ${PNAME}-0.7.2-show.php-parsearr-do-not-overwrite-d-again.patch || die
38
39 # use ${PVER}-${PBUILD} as version
40 echo "${PVER}-${PBUILD}" > ${SRCDIR}/VERSION || die
41 }
42
43 preinstall()
44 {
45 # always keep this files even if the user edited them
46 add_conf_prot_ignore /etc/alx-web/config.inc.php /etc/alx-web/mcore-sql-schema.conf
47 }