diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nagiosql/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/nagiosql/APKBUILD b/testing/nagiosql/APKBUILD new file mode 100644 index 000000000..65a9295df --- /dev/null +++ b/testing/nagiosql/APKBUILD @@ -0,0 +1,32 @@ +# 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" +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" |