aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagiosql/APKBUILD
blob: 8e2353e5bc3730cb833d8a08fdbf928d279309e5 (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
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
_php=php5
pkgname=nagiosql
pkgver=3.0.3
_pkgverdown=303
_pkgvermaj=3
pkgrel=2
pkgdesc="Web frontend to configure Nagios"
url="http://www.nagiosql.org"
arch="all"
license="GPL"
depends="lighttpd $_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"