Magellan Linux

Contents of /smage/branches/alx08x-stable/extras/alx-web/alx-web-0.7.3.20200814.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17767 - (show annotations) (download)
Wed Dec 13 13:51:36 2023 UTC (5 months, 3 weeks ago) by niro
File size: 1101 byte(s)
-release branches/alx08x-stable
1 # $Id$
2
3 PNAME="alx-web"
4 PVER="0.7.3.20200814.1"
5 PBUILD="r2"
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-8.2
14 >= dev-php/php-mysql-8.2
15 >= virtual/sed
16 >= app-admin/sudo-1.9"
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=( mirror://${PNAME}/${SRCFILE} )
25
26 UP2MODULE="${PNAME}"
27 UP2REPO="alx-svn/alx-src"
28 # exclude date only versions
29 UP2DATE="wget -qO- http://magellan-linux.de/viewvc/${UP2REPO}/tags/ | grep -v '${UP2MODULE}-[0-9][0-9][0-9][0-9]' | grep 'tags/${UP2MODULE}-.*/\"' | sed 's:.*${UP2MODULE}-\(.*\)\/.*:\1:;s:_:.:g;' | upsort_pipe"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # use ${PVER}-${PBUILD} as version
37 echo "${PVER}-${PBUILD}" > ${SRCDIR}/VERSION || die
38 }
39
40 preinstall()
41 {
42 # always keep this files even if the user edited them
43 add_conf_prot_ignore /etc/alx-web/config.inc.php /etc/alx-web/mcore-sql-schema.conf
44 }