aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagiosql/APKBUILD
blob: 60939840bdf9171254b20496a9f142c1af733404 (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
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=nagiosql
pkgver=3.0.3
_pkgverdown=303
_pkgvermaj=3
pkgrel=0
pkgdesc="Web frontend to configure Nagios"
url="http://www.nagiosql.org"
arch="all"
license="GPL"
depends="lighttpd mysql php php-gettext php-ftp php-pear"
makedepends=
source="http://downloads.sourceforge.net/$pkgname/${pkgname}${_pkgverdown}.tar.gz
http://download.pear.php.net/package/HTML_Template_IT-1.3.0.tgz"

_builddir="$srcdir"/${pkgname}${_pkgvermaj}

build() {
	cd "$_builddir"
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/webapps/nagiosql
	mkdir -p "$pkgdir"/usr/share/pear
	cp -r "$srcdir"/HTML_Template_IT-1.3.0/* "$pkgdir"/usr/share/pear/
	cp -r "$_builddir"/* "$pkgdir"/usr/share/webapps/nagiosql/
	touch "$pkgdir"/usr/share/webapps/nagiosql/install/ENABLE_INSTALLER
}

md5sums="3b15650942cf0fea3b6bbec1700ace38  nagiosql303.tar.gz
cbd2fcffd32a39da7b260397156bddbb  HTML_Template_IT-1.3.0.tgz"