summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/PKGBUILD
blob: 7c30873c758f567f1bd1880920296924aeb6d969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
pkgname=supplemental-web
pkgver=1.0
pkgrel=10
arch=('i686')
MVDIR=$startdir/pkg/usr/MythVantage
#BINDIR=$MVDIR/bin
install=supplemental-web.install
#depends=(unclutter  ghosd ncid func wol )
#binfiles="saytime.sh backup_job  restore_job.sh  update_system update_system_all backend_control.sh grabkey.py  notify.py"
#source=($binfiles mfegdbcommands.txt mbegdbcommands.txt 45-event.rules lighttpd-supplement.conf)
backup=('extra.cfg.txt')
source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh backend_control.sh notify.py)
depends=('lighttpd'  'php' 'fcgi' 'python' 'xymonserver' 'certmaster' 'func' 'python_aosd' )





build() {
        cd $startdir/src
	mkdir -p $MVDIR/etc
	install -m755 -D lighttpd-supplement.conf $MVDIR/etc/lighttpd-supplement.conf

	install -m755 -D wakeonlan.sh $MVDIR/bin/wakeonlan.sh
	install -m755 -D backend_control.sh $MVDIR/bin/backend_control.sh
#	install -m755 -D notify.py $MVDIR/bin/notify.py
	mkdir -p $startdir/pkg/data/srv/httpd/htdocs/
        cp -rp $startdir/contents/* $startdir/pkg/data/srv/httpd/htdocs
        chmod -R 755 $startdir/pkg/data/srv/httpd/htdocs
        cd $startdir
        mkdir -p $startdir/pkg/data/srv/httpd/
        cp -rp cgi $startdir/pkg/data/srv/httpd/
	cd $startdir/src
	install -m755 -D extra.cfg.txt $pkgdir/data/srv/httpd/cgi/extra.cfg.txt



}

md5sums=('2a9d042467220fd1f74f5b12730c2e06'
         '3d8c7b430c1319d706ca420825918d2a'
         '81cdb6ee6804fa36366c6e259a80e7b4'
         'f37e10ef9fc84b384b9a2d41f82ef744'
         '4da05325b4f9d61d26f88c19578d1950')